I am working on a C# app that will calculate some values. I need to put those values in a x-by-x array of strings. If I knew that "x" was for example, I know that I could just do:
string[,] matrix = new string[3, 3];
Unfortunately, I do not know what "x" will be. Is there a way to dynamically grow a matrix in C#? If so, how?