IEnumerable, and its generic counterpart IEnumerable<T> are .NET interfaces for iterating (or enumerating) through a collection of items.
I have spent quite a few hours pondering the subject of exposing list members. In a similar question to mine, …
c# .net list ienumerable encapsulationHere's what I'm trying to do. I'm querying an XML file using LINQ to XML, which gives me an IEnumerable&…
c# linq-to-xml ienumerable distinctI have the following function to get validation errors for a card. My question relates to dealing with GetErrors. Both …
c# ienumerable yield yield-returnI want to take an IEnumerable<T> and split it up into fixed-sized chunks. I have this, but …
c# linq ienumerableCan anyone help me with a Count extension method for IEnumerable (non generic interface). I know it is not supported …
c# .net linq extension-methods ienumerableIn C# I use LINQ and IEnumerable a good bit. And all is well-and-good (or at least mostly so). However, …
c# singleton ienumerable empty-listbasically I'm building a very generic T4 template and one of the things I need it to do is say …
c# generics foreach ienumerableCan anyone tell me when I should use either. For example, I think I should use an IList when I …
c# ienumerable ilistIs there any reason to expose an internal collection as a ReadOnlyCollection rather than an IEnumerable if the calling code …
c# .net collections ienumerable readonly-collectionI've tried a few different approaches. I'm not sure why but my SelectList/DropDown is empty. It shows no data. …
c# asp.net-mvc asp.net-core ienumerable selectlist