C# Arrays, Lists, and Dictionaries (Quick dotnet tutorial)

Sdílet
Vložit
  • čas přidán 30. 04. 2023
  • This video is a brief overview for beginners on how you can effectively use arrays, lists, and dictionaries in your C# dotnet applications. I skip over the nitty-gritty details of why each data structure has different performance characteristics or how they function exactly under the hood, but instead, focus on how you can leverage them. If you want more in-depth explanations, let's hear about it in the comments!
    For more videos on programming with detailed examples, check this out:
    • All About Programming!...
    Check out more Dev Leader content (including full in-depth articles with source code examples) here:
    linktr.ee/devleader
    Social Media:
    CZcams: / @devleader
    TikTok: / devleader
    Blog: www.devleader.ca/
    GitHub: github.com/ncosentino/
    Twitch: / ncosentino
    Twitter: / devleaderca
    Facebook: / devleaderca
    Instagram: / dev.leader
    LinkedIn: / nickcosentino
    #dotnet #csharp #tutorial #programming #array #list #dictionary

Komentáře • 16

  • @DevLeader
    @DevLeader  Před rokem +1

    ✅Like, ✅share, and ✅subscribe to the channel for more full length content about software engineering topics presented by a Principal Software Engineering Manager 🤓

  • @As-crafts
    @As-crafts Před 15 dny +1

    Great explaination 👍👍

    • @DevLeader
      @DevLeader  Před 15 dny

      @@As-crafts awesome! I'm glad you found it helpful!

  • @phevab
    @phevab Před 3 měsíci +2

    Great content. It really helped me.

    • @DevLeader
      @DevLeader  Před 3 měsíci

      I'm very happy to hear that!

  • @neilranada
    @neilranada Před rokem +4

    Super helpful in understanding the differences in data structures coming from JavaScript. Key takeaways from your explanations for me:
    6:27 Use Arrays for fixed size collections
    12:55 Use Lists for dynamic size collections
    16:28 For Dictionaries, you can overwrite an existing value by assigning an item using "dictionary[index] = value" bracket notation. But if you want to avoid overwriting an existing value, we can use the "dictionary.Add()" method.

    • @DevLeader
      @DevLeader  Před rokem

      Awesome awesome!! Those are great highlights! Thanks for sharing, and it's so nice to hear that you found this helpful 💪💪

  • @evnikasmirnova7753
    @evnikasmirnova7753 Před 3 měsíci +1

    👍👍

    • @DevLeader
      @DevLeader  Před 3 měsíci

      Hope you found it helpful! Let me know if there's anything else you'd like covered!

  • @As-crafts
    @As-crafts Před 15 dny

    Sir can't find any video on generics?.....

    • @DevLeader
      @DevLeader  Před 15 dny

      These collections *are* generics 🙂 are you looking for a more basic introduction to the concept?
      Let me know 🙂

  • @uditjagtap8317
    @uditjagtap8317 Před 5 dny +1

    So basically Arrays are static with single data type collection, Lists are dynamic with single data type collection and Dictionaries are dynamic with 2 different data type collection....That's it?

    • @DevLeader
      @DevLeader  Před 5 dny +1

      @@uditjagtap8317 the first part is a good summary.
      The second part is true, but it leaves more to be desired in the definition. Dictionaries have very different characteristics.
      If you want to find a specific element in an unsorted array or list you need to step through it. A dictionary, the lookup by key is extremely efficient and you don't need to walk through the elements.
      Dictionary keys must also be unique, but there's no such constraint on an array or list 🙂

    • @uditjagtap8317
      @uditjagtap8317 Před 5 dny +1

      @@DevLeader Oh...get it thank you for the explanation 😄

  • @user-ib1lu3kq8t
    @user-ib1lu3kq8t Před 6 měsíci +1

    Lots of talk and incomplete explanation

    • @DevLeader
      @DevLeader  Před 5 měsíci +2

      What was not explained? There are several ways to offer feedback, and simply saying something negative without much context is *exactly* what your own criticism was of the video.
      - What did you feel was superfluous and extra? ("Lots of talk")
      - What did you feel was an incomplete explanation?
      - What's your level as a programmer? Are you junior, and still feel that you don't get the concept? Or are you advanced, and feel like there's other aspects that you'd mention?
      Thanks for taking a moment to offer feedback, but that's inactionable due to "incomplete explanation".