List T and Collections of Data [Pt 12] | C# for Beginners

Поділитися
Вставка
  • Опубліковано 8 січ 2025

КОМЕНТАРІ • 24

  • @Cartaloop
    @Cartaloop Рік тому +39

    Honestly, all the documentation of c# (includind text document, Microsoft Learn courses and now those videos) was the best documentation I ever seen in my journey of learning how to programming... As a beginner who are not a native (I'm from Brazil, and my english is not so good), I can say: C# is the way!

    • @pedroandrade5069
      @pedroandrade5069 11 місяців тому +1

      E aí man, dois meses depois de começar o curso, tá evoluindo? O que achou?

    • @Cartaloop
      @Cartaloop 11 місяців тому

      @@pedroandrade5069 então, eu acompanho o Microsoft Learn simultaneamente a outros cursos que faço de .NET, mas vale muito a pena você ler a documentação e fazer os cursos do Learn

    • @EnriqueRomero-b7x
      @EnriqueRomero-b7x 9 місяців тому +1

      Estoy de acuerdo!

  • @janpoonthong
    @janpoonthong 5 місяців тому +3

    Best two guys are the best in teaching, I love this format of teaching, where two people kinda pair programming and ask question

  • @iam.damian
    @iam.damian Рік тому +5

    As a Damia, my name is very rare. I am glad that it is used as an example :) 10:11

  • @NdamuleloNemakh
    @NdamuleloNemakh Рік тому +5

    Really enjoyed this series, I like re-learning these basics from time to time.👏

  • @mustafayassermansour
    @mustafayassermansour 4 місяці тому +8

    1:08 " google with bing " haha 😂😂

  • @dios8256
    @dios8256 11 місяців тому +1

    This is a good format for learning. Great job!

  • @z-buffer1273
    @z-buffer1273 5 місяців тому +5

    "google with bing" lmao
    great series! :)

  • @levildd
    @levildd Місяць тому

    Hey I have absolutely loved this series! I was following along and noticed the Learn to manage data collections using List in C# website has changed the code to
    List names = ["", "Ana", "Felipe"];
    foreach (var name in names)
    {
    Console.WriteLine($"Hello {name.ToUpper()}!");
    }
    instead of
    var names = new List {"", "Ana", "Felipe"};
    foreach (var name in names)
    {
    Console.WriteLine($"Hello {name.ToUpper()}!");
    }
    theres a few small things here. Like is this saying c# is implicitly making a new list object so I don't need to explicitly declare it? Also when I tried changing my code to how ya'lls is, I didn't change the brackets[ ] to curly braces{ } and even though my list was declared with it was inferring they were ints. It worked either way I just want to know what the standard is! Thanks so much for this awesome series!

  • @wusswuzz5818
    @wusswuzz5818 Рік тому +4

    Will

  • @kvelez
    @kvelez 4 місяці тому

    var names = new string[] { "apple", "banana", "orange" };
    var numbers = new int[] { 1, 2, 3 };
    var items = new List { "apple", "banana", "orange" };
    var elements = new List { 1, 2, 3 };
    var dict = new Dictionary { { 1, "apple" }, { 2, "banana" }, { 3, "orange" } };
    Console.WriteLine(names[0]);
    Console.WriteLine(numbers[0]);
    Console.WriteLine(items[0]);
    Console.WriteLine(elements[0]);
    Console.WriteLine(dict[1]);

  • @VijayMyadam
    @VijayMyadam 7 місяців тому

    I can't find any videos after [Pt 18] | C# for Beginners, where can I find them

    • @dotnet
      @dotnet  7 місяців тому +3

      Full playlist is htere: ua-cam.com/play/PLdo4fOcmZ0oULFjxrOagaERVAMbmG20Xe.html You are almost there! 19 is the last one!

  • @PARADOXX_FF
    @PARADOXX_FF 2 місяці тому

    7:48 ayooo pause

  • @GabrielMadichie
    @GabrielMadichie Місяць тому

    Awesome

  • @luckoor
    @luckoor 8 місяців тому

    In case of var for better readability i stay with explicit types :)

  • @1conscience0dimension
    @1conscience0dimension Місяць тому

    var emptyList = new List();

  • @1conscience0dimension
    @1conscience0dimension Місяць тому

    I had to figure it out myself var name = new List {...} to not have this useless repetition of List . I can't stand those prehistorical stuffs... Even the new could jump in theory...

  • @collinsmarra
    @collinsmarra 8 місяців тому +1

    You wanna marry `var` David?

  • @freakzone1284
    @freakzone1284 Рік тому +1

    Thank you! great video