public static decimal[,] Copy(this decimal[,] arr) { int uBound0 = arr.GetUpperBound(0); int uBound1 = arr.GetUpperBound(1); decimal[,] newArr = new decimal[uBound0, uBound1]; arr.CopyTo(newArr, 0); return(newArr); }
public static decimal[,] Copy(this decimal[,] arr) { int uBound0 = arr.GetUpperBound(0); int uBound1 = arr.GetUpperBound(1); decimal[,] newArr = new decimal[uBound0, uBound1]; arr.CopyTo(newArr, 0); return(newArr); }