I'm very new to C# programming and need a pointer with something.
I'm making use of a multi-dimensional array of the form :
string[x, y] MyNewMultiDArray = new string[x, y];
Ideally this array needs to be used throughout the class so I need to have it declared at the top of the class file.
Furthermore this array will need to change in size according ot a user selection. For this I will need to have to destroy the array and then recreate it with the appropriate dimensions.
How do I do this ?
Any help would be appreciated.
Steve
I'm making use of a multi-dimensional array of the form :
string[x, y] MyNewMultiDArray = new string[x, y];
Ideally this array needs to be used throughout the class so I need to have it declared at the top of the class file.
Furthermore this array will need to change in size according ot a user selection. For this I will need to have to destroy the array and then recreate it with the appropriate dimensions.
How do I do this ?
Any help would be appreciated.
Steve