📅  最后修改于: 2022-03-11 14:49:10.996000             🧑  作者: Mango
public static T[] SubArray(this T[] array, int offset, int length)
{
T[] result = new T[length];
Array.Copy(array, offset, result, 0, length);
return result;
}