When to use - IEnumerable vs IList vs ICollection?

Поділитися
Вставка
  • Опубліковано 27 сер 2024
  • A common interview question with .NET Core is explain the difference between IEnumerable, ICollection and IList?
    We use them so often that many times we forget the basic difference on which will help optimization in which scenario.
    In this short video we will quickly cover these topics.
    .NET Related Courses: www.dotnetmast...

КОМЕНТАРІ • 47

  • @Micah_Tech
    @Micah_Tech 5 місяців тому

    As a Dot Net developer I appreciate your work

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

    This is the best explanation I've seen so far

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

    I've learnt quite a lot from this tutorial understanding in-depth all the logic discussed here. Thank you for taking the effort in teaching us all of these topics.

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

    The most clear explanation and easy to understand.😊

  • @2347matte
    @2347matte 2 місяці тому

    Best C# / DotNet on the internet hands down

  • @sh2983
    @sh2983 Рік тому +2

    Thank you for very clear explanation. This helped a lot to understand the concept.

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

    So easy and loud and clear. Thank you

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

    This is real quality content. Thank you.

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

    Its a clear explanation. Really understood the difference.Thanks a lot.

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

    best explanation so far

  • @waelhi8938
    @waelhi8938 Рік тому +3

    Thank you for this thorough explanation about this topic. Great work! Keep it up!

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

    Thanks for this wonderful video. Kindly also make a video on Garbage Collector and its generations.

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

    Thats a wonderful video my friend, hugs from Brazil

  • @Shakti_Singh_Om
    @Shakti_Singh_Om 3 місяці тому

    This is amazing video!

  • @volimax
    @volimax 6 місяців тому

    Thanks, great explanation!

  • @nahomwores3415
    @nahomwores3415 Рік тому +2

    do video on complex data models and navigation properties lazyloading eager loading and explicit loading and Serialization in C# please. loved the video keep it up

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

    Very good tutorial ! Thank you!

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

    Thank you so much for cool explanation.

  • @watchtube9429
    @watchtube9429 16 днів тому

    Excellent sir

  • @Micah_Tech
    @Micah_Tech 5 місяців тому

    Great explanation

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

    Thank you! It is very helpful!

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

    This is very useful thank you!

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

    Will you please make a video on blazor ?
    layout and application flow in an empty blazor
    solution

  • @user-cj3vc3sk2n
    @user-cj3vc3sk2n 5 місяців тому

    Can we call interface implementation as inherent?
    Please reply

  • @Ahmet-nd5ct
    @Ahmet-nd5ct Рік тому

    great tut! thnx

  • @Guillen8606
    @Guillen8606 10 місяців тому

    The deferred execution mentioned here was related to EF, what about Dapper is that the same case?

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

    Thank you

  • @nitishkumar-dt2tx
    @nitishkumar-dt2tx Рік тому

    how did you log the queries executed into console automatically? is there some configuration for logging queries

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

    very good video

  • @MaheshSingh-ev8yh
    @MaheshSingh-ev8yh 8 місяців тому

    Awesome

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

    Wow nice

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

    Ok, alright, each and everything.

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

    Thank you Bhrugen for these types of videos. If possible, can you make a video on Udemy on how to sell items using Stripe, but also and most importantly how to manage the quantity of items you sell. You have ecommerce videos now using stripe but nothing to manage the quantity when an item is purchased at checkout. Thank you!

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

    Can U plz make azure tutorial

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

    Great

  • @JorgeRodriguezPriegue
    @JorgeRodriguezPriegue 4 місяці тому +1

    Why this guy speaks like master yoda ?

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

    Sir, the way you say it its very confusing. You said inumerable is inhered by icollection
    I asked Chat GPT this
    "Is this statement true
    INumerable is inhereted by ICollection?"
    Chat GPT : "No, that statement is not true. The inheritance relationship between IEnumerable and ICollection is the opposite of what you stated: ICollection inherits from IEnumerable."
    Lol

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

      Hello, I will check on the video but it should be ICollection implements IEnumerable as you can see in the slide at the end of the video

    • @TanujGarg-rw4ng
      @TanujGarg-rw4ng Рік тому

      its all wordplay, you are saying inherits, as In A inherits B, which means A is child class of B, thus in actual ICollection inherits IEnumerable.
      However Sir @DotNetMastery says implements, A implements B which means A is accesing the properties of B, thus ICollection implements IEnumerable.

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

    1.25. Thank me later. Much later, if you don't 1.25.