In the documentation it says:
Single-dimensional arrays implement the
System.Collections.Generic.IList<T>
,System.Collections.Generic.ICollection<T>
,System.Collections.Generic.IEnumerable<T>
,System.Collections.Generic.IReadOnlyList<T>
andSystem.Collections.Generic.IReadOnlyCollection<T>
generic interfaces.The implementations are provided to arrays at run time.
Why are the provided at run-time, and not in the Array
class definition?