When to use - IEnumerable vs IList vs ICollection?

  Рет қаралды 45,053

DotNetMastery

DotNetMastery

Жыл бұрын

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
@sh2983
@sh2983 Жыл бұрын
Thank you for very clear explanation. This helped a lot to understand the concept.
@girmamoges941
@girmamoges941 Жыл бұрын
The most clear explanation and easy to understand.😊
@Micah_Tech
@Micah_Tech 4 ай бұрын
As a Dot Net developer I appreciate your work
@imanqoly
@imanqoly Жыл бұрын
So easy and loud and clear. Thank you
@Maiska123
@Maiska123 7 ай бұрын
This is real quality content. Thank you.
@kopilkaiser8991
@kopilkaiser8991 11 ай бұрын
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!
@waelhi8938
@waelhi8938 Жыл бұрын
Thank you for this thorough explanation about this topic. Great work! Keep it up!
@danielarandamartin2709
@danielarandamartin2709 10 ай бұрын
Very good tutorial ! Thank you!
@wonpaper
@wonpaper Жыл бұрын
Thank you so much for cool explanation.
@arielspalter7425
@arielspalter7425 Жыл бұрын
Thank you! It is very helpful!
@Shakti_Singh_Om
@Shakti_Singh_Om 2 ай бұрын
This is amazing video!
@jakmdibrah
@jakmdibrah Жыл бұрын
Its a clear explanation. Really understood the difference.Thanks a lot.
@DotNetMastery
@DotNetMastery Жыл бұрын
Glad to hear that
@Ahmet-nd5ct
@Ahmet-nd5ct Жыл бұрын
great tut! thnx
@devian3634
@devian3634 Жыл бұрын
This is very useful thank you!
@2347matte
@2347matte Ай бұрын
Best C# / DotNet on the internet hands down
@volimax
@volimax 4 ай бұрын
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.
@shabeebcp7619
@shabeebcp7619 Жыл бұрын
best explanation so far
@DotNetMastery
@DotNetMastery Жыл бұрын
Glad you liked it
@educin15
@educin15 11 ай бұрын
Thats a wonderful video my friend, hugs from Brazil
@DotNetMastery
@DotNetMastery 11 ай бұрын
Thank you very much!
@shabanelmogy7912
@shabanelmogy7912 Жыл бұрын
Thank you
@Micah_Tech
@Micah_Tech 4 ай бұрын
Great explanation
@DotNetMastery
@DotNetMastery 4 ай бұрын
Glad it was helpful!
@masterycgi
@masterycgi Жыл бұрын
very good video
@shanmukhapatil7131
@shanmukhapatil7131 Жыл бұрын
Will you please make a video on blazor ? layout and application flow in an empty blazor solution
@MaheshSingh-ev8yh
@MaheshSingh-ev8yh 7 ай бұрын
Awesome
@vipulkumarsingh2223
@vipulkumarsingh2223 Жыл бұрын
Wow nice
@Guillen8606
@Guillen8606 8 ай бұрын
The deferred execution mentioned here was related to EF, what about Dapper is that the same case?
@nitishkumar-dt2tx
@nitishkumar-dt2tx 11 ай бұрын
how did you log the queries executed into console automatically? is there some configuration for logging queries
@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-cj3vc3sk2n 3 ай бұрын
Can we call interface implementation as inherent? Please reply
@rankarat
@rankarat Жыл бұрын
Great
@kilungyajames5484
@kilungyajames5484 Жыл бұрын
Simple and clear. Thank you
@bojohannesen4352
@bojohannesen4352 12 күн бұрын
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 10 ай бұрын
Can U plz make azure tutorial
@JorgeRodriguezPriegue
@JorgeRodriguezPriegue 3 ай бұрын
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
@bojohannesen4352 12 күн бұрын
1.25. Thank me later. Much later, if you don't 1.25.
SOLID Principles of Object Oriented Programming - Real Life Examples
11:08
Survival skills: A great idea with duct tape #survival #lifehacks #camping
00:27
Хотите поиграть в такую?😄
00:16
МЯТНАЯ ФАНТА
Рет қаралды 2,2 МЛН
When to use IEnumerable vs IQueryable?
4:49
DotNetMastery
Рет қаралды 24 М.
Brutally honest advice for new .NET Web Developers
7:19
Ed Andersen
Рет қаралды 86 М.
Arrays vs Lists
12:49
Coding Tutorials
Рет қаралды 6 М.
8 await async mistakes that you SHOULD avoid in .NET
21:13
Nick Chapsas
Рет қаралды 310 М.
IEnumerable 🆚 IEnumerator Interfaces in C#
34:06
tutorialsEU
Рет қаралды 27 М.
What is Dependency Injection in .NET?
7:31
DotNetMastery
Рет қаралды 22 М.
Difference Between REST API vs Web API vs SOAP API Explained
7:24
Learn with Whiteboard
Рет қаралды 166 М.
Understand your C# queries! IEnumerable & IQueryable in explained
11:28
tutorialsEU - C#
Рет қаралды 32 М.
What is Span in C# and why you should be using it
15:15
Nick Chapsas
Рет қаралды 250 М.