hi friends, I'm wondering about way to put pre declared int in to a Array
static void Main(string[] args)
{
int a = 0;
int[] arrayStore;
for (int i = 0; i < 10; i++)
{
arrayStore[]//???????????????
a += 1;
}
}
I'm trying to get int a in to the Array,
Increase a by 1 and slap the new a in to the array in the next position so it becomes int[] arrayStore{1,2,3,4,5,6,7,8,9} How'd i write that though?