3 ms·
It doesn't. It has ICollection<T>, which is a collection of known finite length, and IList<T>, which adds the requirement that the items can be accessed via the
by orthoxerox 4y ago
It doesn't. It has ICollection<T>, which is a collection of known finite length, and IList<T>, which adds the requirement that the items can be accessed via their ordinal index, thus implicitly defining the encounter order as well.
It's probably the Blub paradox speaking, but I haven't felt the need for an ISequencedCollection<T> in C#.
- maxfurman 4y agoICollection also already has many of the convenience methods from this JEP, like .First() and .Last()