Array class implementation in C# -
this question has reply here:
why (does really?) list<t> implement these interfaces, not ilist<t>? 5 answersgoing implementation details, see implementation of array class as
public abstract class array : icloneable, ilist, icollection, ienumerable, istructuralcomparable, istructuralequatable implementation of ilist interface reads as
public interface ilist : icollection, ienumerable my question is, doesn't array class automatically implement icollection , ienumerable moment implements ilist? why these implemented explicitly?
the implementation of array is:
array : icloneable, ilist, istructuralcomparable, istructuralequatable take on source in here
maybe took on msdn create document clearer.
c# arrays
No comments:
Post a Comment