What the HECK are Iterators in .NET C#
February 24, 2023
• 3,492 views
c#.netc# tutorialdotnetdotnet coredotnet core tutorialdotnet core c#c# dotnet coreenumerableenumerablesienumerableenumerables c#c# enumerablesc# ienumerable foreachc# iteratorc# iteratorsc# iterationc# foreachc# enumerable foreachforeach ienumerableforeach ienumerable vs listforeach ienumerable c#array vs enumerableienumerable vs ilistc# collectionsc# collections tutorialienumerable tutorialhow do enumerables work
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 what an iterator is in C# and what separates it from a normal method that returns IEnumerable. This video is introductory level and will allow you to follow up with a more advanced video, like this one: https://youtu.be/3a_hg8KE-aQ
Want the source for this video? Check it out here:
https://github.com/ncosentino/DevLeader/tree/master/AllAboutEnumerables/AllAboutEnumerables.I...
