Check out example codes for "unity make a int arry with preset values". It will help you in understanding the concepts better.

Code Example 1

// For a preset arry in c#

var arr = new string[3] {"one", "two", "three"};

// Or you can do this:
 string[] arr = {"one", "two", "three"};

Learn ReactJs, React Native from akashmittal.com