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

Поделиться
HTML-код
  • Опубликовано: 12 ноя 2024

Комментарии • 16

  • @DevLeader
    @DevLeader  Год назад +1

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

  • @neilranada
    @neilranada Год назад +5

    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  Год назад

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

  • @As-crafts
    @As-crafts 3 месяца назад +1

    Great explaination 👍👍

    • @DevLeader
      @DevLeader  3 месяца назад

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

  • @phevab
    @phevab 7 месяцев назад +2

    Great content. It really helped me.

    • @DevLeader
      @DevLeader  7 месяцев назад

      I'm very happy to hear that!

  • @As-crafts
    @As-crafts 3 месяца назад

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

    • @DevLeader
      @DevLeader  3 месяца назад

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

  • @evnikasmirnova7753
    @evnikasmirnova7753 7 месяцев назад +1

    👍👍

    • @DevLeader
      @DevLeader  7 месяцев назад

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

  • @uditjagtap8317
    @uditjagtap8317 3 месяца назад +2

    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  3 месяца назад +3

      @@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 3 месяца назад +1

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

  • @غصنالزيتون-ف7ز
    @غصنالزيتون-ف7ز 9 месяцев назад +1

    Lots of talk and incomplete explanation

    • @DevLeader
      @DevLeader  9 месяцев назад +3

      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".