Beginner CRASH COURSE for IEnumerable in .NET C#
ฝัง
- เผยแพร่เมื่อ 7 ก.ย. 2024
- Enumerables and iterators are a confusing topic for many people even if they aren't new to C#. In this video we'll look at the IEnumerable interface and see how this works with respect to some basic collections. This will serve as a very basic introduction and later on we can expand to more complex topics!
When you're done with this video, you should follow up with this one:
• What the HECK are Iter...
You can also follow along in the corresponding blog post here:
www.devleader....
Want the source for this video? Check it out here:
github.com/nco...
For more information about enumerables, iterators, and collections, see:
• Beginner CRASH COURSE ...
Check out more Dev Leader content (including full in depth articles with source code examples) here:
linktr.ee/devl...
Social Media:
TH-cam: / @devleader
TikTok: / devleader
Blog: www.devleader.ca/
GitHub: github.com/nco...
Twitch: / ncosentino
Twitter: / devleaderca
Facebook: / devleaderca
Instagram: / dev.leader
LinkedIn: / nickcosentino
#enumerable #enumerables #enumeration #ienumerable #collections #csharp #dotnet #dotnetcore #beginner #beginners #beginnerprogrammer
✅Like, ✅share, and ✅subscribe to the channel for more full length content about software engineering topics presented by a Principal Software Engineering Manager 🤓
You can find more Enumerables, Iterators, and Collections here:
th-cam.com/play/PLzATctVhnsgjE3qOsbkPaC1NxXD605wOC.html
Finally, someone explained the way I can understand. Thank you.
I'm so happy to hear that 😁 please - let me know other topics you'd like covered!
Absolutely no problem. I did not watch your channel {maybe you have covered already}, but here is my list:
- Linq - this is huge I know
- Array
- BigInteger
- Predicate
- Method Group
- Generic Methods - to classes I do not own.
- Tuple
- Delegate
- TryParse
- Anonymous object
- HasTable
- Dictionary {and differences between them}
- Key Value pair
- LookUp
- HashSet
- Func
- Predicate
- Incremental Refactor
- TryGetValue
- Regex
- String literals, Verbatim, escapes
- Working with files
- Stopwatch
- stack (If it is not the same something that covers LIFO and its usage)
- Reference type
- Deffere - when is Linq deffereted and how to start the query - you know what I mean...
- Dump
- Try Catch
@@curojimenes2642 this is GREATLY appreciated 💪
Good news: I have something BIG coming in the next couple of months.
Better news: I can try to chip away at this list. It's very valuable to know at least one person would find value in this.
Best News: (well, maybe) but if you're active on Discord, do you want to send me a message on Twitter/Instagram or my Facebook page? I'll give you lifetime free access for these suggestions and in the meantime I can try answering this stuff as you come across it.
Let me know 🙂
Your explanations are incredible! You use short but very specific examples. You go through the process with us and are very educational. I think you deserve way more subscribers and I don't say that lightly. You've earned my subscribe !!
That means so much ❤️ thanks for the very kind words, and I hope to keep delivering on this for you.
Feel free to request topics 💪💪
Very good explanation. I always thought that IEnumerable created a copy of the underlying object. Good to know!
😁 I feel like you've been binge watching my videos! I'm glad you're finding them insightful! And truly, I do appreciate the comments.
Let me know if you have any questions or any topics you'd like clarified in more detail! I'm happy to try my best.
This was very clearly explained and helpful. Thanks.
Awesome! Thanks for the comment, and I'm glad you found it helpful! 💪
Feel free to ask about other topics if you find my explanations helpful 🙂 I'm happy to create more content.
Thank you ! finally I've understood what IEnumerable stands for 👍
Awesome 😁 I'm glad this helped! Let me know if you'd like anything else covered!
I just found your channel when i search some explanations for ienumerable. Thank you very much
Awesome stuff! I hope that you found this video helpful 🙂
This was very easy to understand, thank you for the time and effort.
I'm so happy to hear that! Thanks for the feedback 💪
Are there any other topics you'd like me to cover?
@DevLeader I haven't reviewed the full content library yet so if I find any gaps I'll let you know!
@@Frosthowl93 thanks very much! Happy to help cover things that will be valuable 😁
Thank you!!
I'm glad that you enjoyed! Thanks for stopping by 🙂🙂
nice explanation
Thank you! I'm glad that you found it helpful 🙂 Just let me know if there's anything else you'd like covered and I can try to follow up.
👍👍
I hope you found this helpful!
Where is the link to follow up video? Name convetion of the videos doesn't lead me anywhere :<
Great video
Which video are you referring to? I have a whole playlist 🙂
Enumerables, Iterators, and Collections in C#: th-cam.com/play/PLzATctVhnsgjE3qOsbkPaC1NxXD605wOC.html
@@DevLeader I think he meant the fact that your videos don't have a "part x" to clearly know which video is next and which was pervious other than when you go through the playlist.
Other than that, that was a pretty cool explanation, I like the way you express yourself, thank you!
IEnumerable sounds like an unneeded added level of complexity with no apparent advantages.
@@Fractalis65 the advantage comes with iterators.
Quick example:
If you needed to work with a dataset with 100 million entries, a couple options are:
1) try to load it all into memory (good luck)
2) build paging/chunking (which can be clunky)
IEnumerable allows you to build an iterator, which yields back items individually. Your memory footprint becomes very small because you're not pulling the whole dataset in all at once.
There are lots of really cool things IEnumerables unlock 🙂
when you are trying to explain something difficult please never use vars