unity array c#

C#
public string student1 = "Greg"; 
public string student2 = "Kate"; 
public string student3 = "Adam"; 
public string student4 = "Mia";using System.Collections.Generic;string[ ] familyMembers = new string[]{"John", "Amanda", "Chris", "Amber"} ; 
 
string[ ] carsInTheGarage = new string[] {"VWPassat", "BMW"} ; 
 
int[ ] doorNumbersOnMyStreet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12 }; 
 
GameObject[ ] carsInTheScene = GameObject.FindGameObjectsWithTag("car");public string[ ] familyMembers = new string[ ]{"Greg", "Kate", "Adam", "Mia"} ;new List();GameObject[ ] carsInTheScene = GameObject.FindGameObjectsWithTag("car");public string[] myArrayName = new string[4];
Source

Also in C#: