Tech Off Post

Single Post Permalink

View Thread: array to matrix in c# ?
  • User profile image

    Is it possible in c# to transform an array to a matrix with a minimal impact on memory ? Because the array can ben very big.

    For exemple:

    int[] a = new int[100];
    int[,] m = a.ToMatrix(10, 10);