What is the best way to return a subset of a C# array given a fromIndex and toIndex?
Obviously I can use a loop but are there other approaches?
This is the method signature I am looking to fill.
public static FixedSizeList<T> FromExisting(FixedSizeList<T> fixedSizeList, Int32 fromIndex, Int32 toIndex)
FixedSizeList internal implementation is
private T[] _Array;
this._Array = new T[size];