Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Everything / IEnumerable

IEnumerable

IEnumerable

Great Reads

by dibley1973
This morning at work a colleague and myself discovered a slightly alarming difference between `IEnumerable.ForEach` and `List.ForEach` when we switched a collection type for a field in a C# ASP.NET MVC project.
by Jörgen Andersson
A propertymapping extension for DataReaders
by Ramesh Bevara
An overview of a helper class to build dynamic order by clause in LINQ query in C#
by Mikhail-T
A short one-line way to convert Array or List of any data into custom string via LINQ

Latest Articles

by dibley1973
This morning at work a colleague and myself discovered a slightly alarming difference between `IEnumerable.ForEach` and `List.ForEach` when we switched a collection type for a field in a C# ASP.NET MVC project.
by Jörgen Andersson
A propertymapping extension for DataReaders
by Ramesh Bevara
An overview of a helper class to build dynamic order by clause in LINQ query in C#
by Mikhail-T
A short one-line way to convert Array or List of any data into custom string via LINQ

All Articles

Sort by Score

IEnumerable 

by Jörgen Andersson
A propertymapping extension for DataReaders
by GravityPhazer
This article demonstrates how you can simply enumerate any generic tree depth-first as well as breadth-first using the described construct. Trees can be serialized binary (using the BinaryFormatter), custom binary and as XML.
by ASP.NET Community
The iterator pattern’s role is to provide a way to access aggregate objects sequentially without the knowledge of the structure of the aggregate. The
by ASP.NET Community
The iterator pattern’s role is to provide a way to access aggregate objects sequentially without the knowledge of the structure of the aggregate.
by Muraad Nofal
A haskell monad/(applicative)functor like interface in C# that extends IEnumerable.
by WyoMetz
Simple and easy paging of a WPF DataGrid with DataTable and LINQ queries
by M-Badger
Using multiple enumerators and implementing IEnumerable with Yield or IEnumerator.
by M-Badger
This is an alternative for "Pick Your Enumerator & Me.Understand Yield and IEnumerable (C#)"
by interopper
How to make a thin-as-possible .NET IEnumerable-wrapper around MFC list classes.