If I had a couple regions that had multiple stores each. Is there a way to put these store objects into an array of a region?
I am trying things like:
with no luck. Thanks in advance for any help.VB Code:
static int size = 3; static Region[] regions = new Region[size]; static void Main(string[] args) { //for (int k = 0; k < size; k++) // regions[k] = new Region(); double[] stores = new double[5]; for (int k = 0; k < 5; k++) stores[k] = IO.GetDouble("Enter the week's sales for store " + (k+1) + ": "); regions[0] = stores;




Reply With Quote