array example in c#
Example 1: c# array
int[] array = new int[]{1, 2, 3, 4, 5};
for(int i=0; i<array.Length; i++){
Console.WriteLine(array[i]);
}
Example 2: how to make an array in csharp
// whatever type you want
public GameObject[] Players;