I have an application that I have built and my code behind is generating an interface and part of that interface there is a number location. I want to display about 20 different instances of this interface and each instance to have a specific number. There is no pattern with these numbers they are random numbers. I know I could store these numbers in a one column table and loop through each record and display the interface with the number for each record. but I don't ahve access to a database for this application so I figure I would use an array (this is a temporary project).
So how do I implement an single column array in C#. Below is a sample of the array I would like to use.
How in my code would I loop through each 'record' in the array while looping and displaying an instance of the interface with the 'number' from the array