ExpandableArray<TItem> class ExpandableArray<TItem> : IEnumerable<TItem>, IEnumerable Documentation Code public int Length protected TItem[] Repository public bool IsEmpty { get; } public ref TItem this[int i] { get; } public ExpandableArray() public ExpandableArray(IEnumerable<TItem> initial) public static ExpandableArray<TItem> FromEnumerable(IEnumerable<TItem> initial) public void Add(TItem item) public void AddOrKeep(TItem item) public void AddRange(IEnumerable<TItem> items) public TItem[] AsArray() public bool Contains(TItem element) public bool ContainsReference(TItem element) protected int EnsureSize(int increaseAmount = 1) public IEnumerator<TItem> GetEnumerator() public int IndexOf(TItem element)