I need an easy way to iterate over multiple collections without actually merging them, and I couldn\'t find anything built into .NET that looks like it does that.It feels like this should be a somewha
Recently I came across a situation where set theory and set math fit what I was doing to the letter (granted there was an easier way to accomplish what I needed - i.e. LINQ - but I didn\'t think of th
There are a couple of posts about this on Stack Overflow but none with an answer that seem to fix the problem in my current situation.
I\'ve got this XML: <BillingLog> <BillingItem> <date-and-time>2003-11-04</date-and-time>
I know that technically, an Interface is used for reading and not writting or editing however, I want to add an add and addrange function to the following class, here is what I currently have which is
What is the difference between returning IQueryable<T> vs. IEnumerable<T>, when should one be preferred over the other?
I\'m trying to do cast a List to an IEnumerable, so I can ve开发者_如何学Crify that different lists are not null or empty:
I want a method to update certain entries of an IEnumerable. I found that doing a foreach over the entries and updating the values failed as in the background I was cloning the collection. This was be
Example: System.Web.Security.MembershipCollection implements IEnumerable and not IEnumberable<T>. Why doesn\'t it implement the latter, when it seems that it would be better (e.g. use LINQ)?
Background Working in .NET 2.0 Here, reflecting lists in general. I was originally using t.IsAssignableFrom(typeof(IEnumerable)) to detect if a Property I was traversing supported the IEnumerable Int