How C# IEnumerable Can Kill Your Site’s Performance

            When people come up to speed in C#, collection types present options.  And, sometimes, these options confuse.  Should you use C# IEnumerable, IList, or ICollection?  And what’s an IQueryable, anyway?   This type of wondering generally brings you to the official documentation for one of the types.  For example, look at the declaration of the IList<T> interface.   public interface IList<T> : ICollection<T>, IEnumerable<T>, IEnumerable   IList<T> implements IEnumerable<T>, so IEnumerable must be kind (read more)

Most recent