Check out example codes for "c# how to crete array". It will help you in understanding the concepts better.

Code Example 1

int[] array = new int[]; // []
int[] array = new int[5]; // [0, 0, 0, 0, 0]
int[] array1 = new int[] { 1, 3, 5, 7, 9 };

Code Example 2

//you can apply arrays to any variable

//string array
string[] names = {"Guy", "Ryan", "Jim"};

//int array
int[] ages = {14, 16, 17, 19};

//bool array
bool[] timeRecord = {2.3, 5.6, 3.3};

Code Example 3

int[] array = new int[]{1, 2, 3, 4, 5};
for(int i=0; i<array.Length; i++){
	  Console.WriteLine(array[i]);
}

Learn ReactJs, React Native from akashmittal.com