Closed ndrwrbgs closed 6 years ago
The implementation already mostly exposes IList, so exposing the interface seems natural.
IList
ICollection.CopyTo
ICollection.IsReadOnly
IList.RemoveAt
Future work:
CopyToNewArrays
ToArray
Array.Copy
ICollection
The implementation already mostly exposes
IList
, so exposing the interface seems natural.ICollection.CopyTo
andICollection.IsReadOnly
.IList.RemoveAt
to be void (and updated usage).Future work:
ICollection.CopyTo
(and perhapsCopyToNewArrays
/ToArray
/etc) to useArray.Copy
for performanceToArray
does not (today) differ from what the BCL would do ifICollection
is exposed anyway