IEnumerable, and its generic counterpart IEnumerable<T> are .NET interfaces for iterating (or enumerating) through a collection of items.
I have an IEnumerable object. I would like to access based on index for instance: for(i=0; i<=Model.…
c# ienumerableI'm using C# on Framework 3.5. I'm looking to quickly group a Generic List<> by two properties. For the …
c# linq list ienumerable group-byI am developing a c# program which has an "IEnumerable users" that stores the ids of 4 million users. I need …
c# ienumerableWhat is the fastest way to determine if one IEnumerable contains all the elements of another IEnumerable when comparing a …
c# .net linq ienumerableI'm thinking about implementing IEnumerable for my custom collection (a tree) so I can use foreach to traverse my tree. …
c# iterator ienumerableI have a list of objects and I'd like to update a particular member variable within one of the objects. …
c# .net linq ienumerable linq-to-objectsSay that for debugging purposes, I want to quickly get the contents of an IEnumerable into one-line string with each …
c# string linq collections ienumerableWhen I have entities in my domain with lists of things, should they be exposed as ILists or IEnumerables? E.…
collections ienumerable ilistI've gotta be missing something simple here. Take the following code: public IEnumerable<int> getInt(){ for(int i = 0; …
c# ienumerable yield-returnI happened to have seen some code where this guy passed a lambda expression to a ArrayList.Sort(IComparer here) …
linq extension-methods ienumerable iequalitycomparer icomparer