When to use - IEnumerable vs IList vs ICollection?

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.dotnetmastery.com/

Пікірлер: 46

  • @kilungyajames5484
    @kilungyajames5484 Жыл бұрын

    This is the best explanation I've seen so far

  • @girmamoges941
    @girmamoges941 Жыл бұрын

    The most clear explanation and easy to understand.😊

  • @sh2983
    @sh2983 Жыл бұрын

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

  • @imanqoly
    @imanqoly Жыл бұрын

    So easy and loud and clear. Thank you

  • @Maiska123
    @Maiska1237 ай бұрын

    This is real quality content. Thank you.

  • @kopilkaiser8991
    @kopilkaiser899111 ай бұрын

    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.

  • @DotNetMastery

    @DotNetMastery

    11 ай бұрын

    You're very welcome!

  • @Micah_Tech
    @Micah_Tech4 ай бұрын

    As a Dot Net developer I appreciate your work

  • @waelhi8938
    @waelhi8938 Жыл бұрын

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

  • @danielarandamartin2709
    @danielarandamartin270910 ай бұрын

    Very good tutorial ! Thank you!

  • @jakmdibrah
    @jakmdibrah Жыл бұрын

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

  • @DotNetMastery

    @DotNetMastery

    Жыл бұрын

    Glad to hear that

  • @wonpaper
    @wonpaper Жыл бұрын

    Thank you so much for cool explanation.

  • @arielspalter7425
    @arielspalter7425 Жыл бұрын

    Thank you! It is very helpful!

  • @devian3634
    @devian3634 Жыл бұрын

    This is very useful thank you!

  • @Shakti_Singh_Om
    @Shakti_Singh_Om2 ай бұрын

    This is amazing video!

  • @Ahmet-nd5ct
    @Ahmet-nd5ct Жыл бұрын

    great tut! thnx

  • @2347matte
    @2347matteАй бұрын

    Best C# / DotNet on the internet hands down

  • @shabeebcp7619
    @shabeebcp7619 Жыл бұрын

    best explanation so far

  • @DotNetMastery

    @DotNetMastery

    Жыл бұрын

    Glad you liked it

  • @volimax
    @volimax4 ай бұрын

    Thanks, great explanation!

  • @DotNetMastery

    @DotNetMastery

    4 ай бұрын

    Glad it was helpful!

  • @umairarif7548
    @umairarif7548 Жыл бұрын

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

  • @educin15
    @educin1511 ай бұрын

    Thats a wonderful video my friend, hugs from Brazil

  • @DotNetMastery

    @DotNetMastery

    11 ай бұрын

    Thank you very much!

  • @Micah_Tech
    @Micah_Tech4 ай бұрын

    Great explanation

  • @DotNetMastery

    @DotNetMastery

    4 ай бұрын

    Glad it was helpful!

  • @shabanelmogy7912
    @shabanelmogy7912 Жыл бұрын

    Thank you

  • @masterycgi
    @masterycgi Жыл бұрын

    very good video

  • @shanmukhapatil7131
    @shanmukhapatil7131 Жыл бұрын

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

  • @vipulkumarsingh2223
    @vipulkumarsingh2223 Жыл бұрын

    Wow nice

  • @MaheshSingh-ev8yh
    @MaheshSingh-ev8yh6 ай бұрын

    Awesome

  • @Guillen8606
    @Guillen86068 ай бұрын

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

  • @nitishkumar-dt2tx
    @nitishkumar-dt2tx10 ай бұрын

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

  • @rankarat
    @rankarat Жыл бұрын

    Great

  • @kilungyajames5484

    @kilungyajames5484

    Жыл бұрын

    Simple and clear. Thank you

  • @nahomwores3415
    @nahomwores3415 Жыл бұрын

    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

  • @user-cj3vc3sk2n
    @user-cj3vc3sk2n3 ай бұрын

    Can we call interface implementation as inherent? Please reply

  • @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!

  • @bojohannesen4352
    @bojohannesen43528 күн бұрын

    Ok, alright, each and everything.

  • @MultiAkash1988
    @MultiAkash198810 ай бұрын

    Can U plz make azure tutorial

  • @JorgeRodriguezPriegue
    @JorgeRodriguezPriegue3 ай бұрын

    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

    11 ай бұрын

    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
    @bojohannesen43528 күн бұрын

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