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

Code Example 1

string[] cars = {"Volvo", "BMW", "Ford", "Mazda"};

Code Example 2

string name = "Dominic"

Code Example 3

int[] array = new int[]{1, 2, 3, 4, 5};
foreach (string i in array) 
{
  Console.WriteLine(i);
}

//or

for(int i=0; i<array.Length; i++){
	  Console.WriteLine(array[i]);
}

Code Example 4

string[] cars;

Learn ReactJs, React Native from akashmittal.com