Check out example codes for "c# get array subarray". It will help you in understanding the concepts better.

Code Example 1

public static T[] SubArray<T>(this T[] array, int offset, int length)
	{
		T[] result = new T[length];
		Array.Copy(array, offset, result, 0, length);
		return result;
	}

Learn ReactJs, React Native from akashmittal.com