Is this possible?
public string[,] MyArray = new string[99,999];
the above works but is either too large or not big enough.
public string[,] MainKeys = new string[,];
generates error "Array creation must have array size or array initializer"
Array.Resize(ref MyArray,100,1000);
generates error "'System.Array' does not contain a definition for 'Resize'".
Loading
AlanPosted Jun 29, 2007, 6:41 PM
As well as the Hashtable, you could also simulate a dynamic multidimensional string array with an ArrayList of ArrayLists of strings or, if you have C# 2.0, with a generic List of List
Bevan SherveyPosted Jun 29, 2007, 6:19 PM