What is the difference between IQueryable and IEnumerable?
What is the difference between IQueryable<T> and IEnumerable<T>? See also What’s the difference between IQueryable and IEnumerable that overlaps with this question. 12 … Read more
What is the difference between IQueryable<T> and IEnumerable<T>? See also What’s the difference between IQueryable and IEnumerable that overlaps with this question. 12 … Read more
My question as title above. For example IEnumerable<T> items = new T[]{new T(“msg”)}; items.ToList().Add(new T(“msg2”)); but after all it only has 1 item … Read more
I found an example in the VS2008 Examples for Dynamic LINQ that allows you to use a SQL-like string (e.g. OrderBy(“Name, Age DESC”)) … Read more
I have some doubts over how Enumerators work, and LINQ. Consider these two simple selects: List<Animal> sel = (from animal in Animals join … Read more
I’d like to do the equivalent of the following in LINQ, but I can’t figure out how: IEnumerable<Item> items = GetItems(); items.ForEach(i => … Read more
What is the difference between returning IQueryable<T> vs. IEnumerable<T>, when should one be preferred over the other? IQueryable<Customer> custs = from c in … Read more