-
Make an array global
Hi, I created a two dimensional array and I found out that I cannot just use it locally. So how can I use it in other parts of my program? That is, how can I use it globally?
**Edit**
Something I thought might be useful to know is that the array is a dynamic array. Here is how I declare it:
string[,] NESRomArray = new String[NumberOfRowsInArray, 2];
Thanks,
Randell
-
Re: Make an array global
-
Re: Make an array global
Is this a winForm or a web appliction ?
In a WinForm app I would never do a global array. Use the MVP pattern having all your data in the datalayer and use interfaces for access to this data.