<PackageReference Include="System.Collections.NonGeneric" Version="4.0.1-beta-23409" />

ReadOnlyCollectionBase

Provides the abstract base class for a strongly typed non-generic read-only collection.
public virtual int Count { get; }

Gets the number of elements contained in the ReadOnlyCollectionBase instance.

protected ArrayList InnerList { get; }

Gets the list of elements contained in the ReadOnlyCollectionBase instance.

Initializes a new instance of the ReadOnlyCollectionBase class.

public virtual IEnumerator GetEnumerator()

Returns an enumerator that iterates through the ReadOnlyCollectionBase instance.