IS303 C# Creating a List of Objects

Поділитися
Вставка
  • Опубліковано 20 гру 2024

КОМЕНТАРІ •

  • @parkourfreerunning9814
    @parkourfreerunning9814 5 років тому +14

    you are slapping your keyboard XD

  • @Adze-yah
    @Adze-yah 2 роки тому

    Thank you, you just helped me understand how custom lists work.

  • @batuhangedik35
    @batuhangedik35 3 роки тому

    God bless you.

  • @simonroyjonesuk
    @simonroyjonesuk 4 роки тому +1

    Thanks. Really clear explanation. Much easier to use than arrays.

  • @kawtarelstanej1133
    @kawtarelstanej1133 2 роки тому

    plz just keep up you are just amaziiiing

  • @dharkundercity1796
    @dharkundercity1796 5 років тому +5

    Can you make a video on how to bind this list to a Winform dropdown list?

  • @daniloalvarez6181
    @daniloalvarez6181 3 роки тому

    Thanks a lot!, you've got a new suscriber

  • @ilyaselaissi1628
    @ilyaselaissi1628 3 роки тому

    Very very helpful.thank you so much for all

  • @OfficialTEG
    @OfficialTEG 4 роки тому

    How would we create a new list index everytime a function is called. Like Im taking in student credentials and everytime I go to the newStudent method, I need to be able to store all the info the user inputs into a new index of the list

  • @mad-alpha
    @mad-alpha 3 роки тому

    Thanks for the help 👍🏻

  • @joenacouzi558
    @joenacouzi558 2 роки тому

    i did exactly the same with different names: The type or namespace name 'Courses' could not be found (are you missing a using directive or an assembly reference?) [c#], Where Courses is my class name. It's List error

  • @Shakespeare1612
    @Shakespeare1612 4 роки тому

    What about a list accessing an object that is two or more levels deep. Like if these students had a ReportCard object, and enrollment objects as part of the Report Card object. Now I want to do something like Find "Tom Jones" in the students list. Tell me what class he was taking 3rd period in Fall 2017, Who was his teacher, and what grade did he receive?

    • @LuzuVlogsGamer
      @LuzuVlogsGamer Рік тому

      Separate list and use Insert( what was chosen,what to save in the other lists ) and RemoveAt(To remove what was saved in the: what was chosen )

  • @ahmadwasimgermany3393
    @ahmadwasimgermany3393 3 роки тому

    Could someone help me in this issue: i ve a class Tournament, it has a property Int NumberOfRounds and i want to create also another property List Pools in the same class nur her Capacity will ne dinamiclly depend to the other property NumberOfRounds, for example when de defind NumberOfRounds =4 then i would have (4+1) =5 Pools , than mean List Pools { get; set} = new List(5);
    I need help please if somone could help me i ll apreciate it &thankful

  • @mhasnainadil2875
    @mhasnainadil2875 5 років тому

    Thank you. Please tell me how can we use for loop instead of for each for this code.

    • @eldelamusa
      @eldelamusa 5 років тому +1

      For (var i = 0; i < List.Count; i++)

    • @Shakespeare1612
      @Shakespeare1612 4 роки тому

      But why? for each loops are easier to read, and I believe they are much safer to work with multiple treads, and cases where your list gets updates, WHILE you are trying to loop through it.

  • @atk3210
    @atk3210 3 роки тому

    This helped a lot, thank you

  • @darrenboyd424
    @darrenboyd424 5 років тому

    Does it have to be in the main?

  • @josephrufft5583
    @josephrufft5583 5 років тому

    Can you make a video just like this one, but with a Windows Form application?

  • @faisalmasood5723
    @faisalmasood5723 4 роки тому

    OMG thank you so much. I am going to subscribe you :)

  • @liyingfeng4247
    @liyingfeng4247 5 років тому

    really helpful. Thank you !

  • @IIIBoaz
    @IIIBoaz 4 роки тому

    thank you so fucking much for a clear explenation.

  • @ashiqpervez
    @ashiqpervez 4 роки тому

    how to store user input in the list

    • @abdiburhan3490
      @abdiburhan3490 4 роки тому

      yooo did you get the answer for this???? i need help!!

    • @143ryan8
      @143ryan8 3 роки тому

      Yoo I'm months late but Yall got the answers for this?!?!?!?

  • @joaopauloteixeira6464
    @joaopauloteixeira6464 4 роки тому

    thx