I have a 2d array:
int[,] array = new int[m, n];
I'm trying to initialize all the values in the array to Int32.MaxValue in the most performant way possible. The simple solution is to do a double-for-loop, but I don't think that's the most performant and my internet searches have failed to turn up anything.
Does someone out there know a more efficient way to do this?