Top "Ienumerable" questions

IEnumerable, and its generic counterpart IEnumerable<T> are .NET interfaces for iterating (or enumerating) through a collection of items.

IEnumerable<char> to string

I've never stumbled across this before, but I have now and am surprised that I can't find a really easy …

c# .net string ienumerable
What is the purpose of AsQueryable()?

Is the purpose of AsQueryable() just so you can pass around an IEnumerable to methods that might expect IQueryable, or …

c# .net linq ienumerable iqueryable
Practical difference between List and IEnumerable

By reading similar posts I've learned that a List is a type of IEnumerable. But I'm really wondering what the …

c# .net list ienumerable
How to get value from IEnumerable collection using its Key?

I have IEnumerable collection like following IEnumerable<Customer> items = new Customer[] { new Customer { Name = "test1", Id = 999 }, new Customer { …

c# ienumerable ienumerator
Does C# have IsNullOrEmpty for List/IEnumerable?

I know generally empty List is more prefer than NULL. But I am going to return NULL, for mainly two …

c# ienumerable isnullorempty
IEnumerable and Recursion using yield return

I have an IEnumerable<T> method that I'm using to find controls in a WebForms page. The method …

c# generics ienumerable yield
How to go to particular Item in IEnumerable

I have IEnumerable which contains number Data inside it. Edit The IEnumerable is from System.Collection.Ienumerable directive. Attached the …

c# .net silverlight silverlight-3.0 ienumerable
Casting IEnumerable<T> to List<T>

I was wondering if it is possible to cast an IEnumerable to a List. Is there any way to do …

c# list ienumerable
What's the Best Way to Add One Item to an IEnumerable<T>?

Here's how I would add one item to an IEnumerable object: //Some IEnumerable<T> object IEnumerable<string&…

c# extension-methods ienumerable
ICollection<T> Vs List<T> in Entity Framework

I only watched a few webcasts before I went head first in to designing a few Entity Framework applications. I …

c# list ef-code-first ienumerable icollection