public static void Main()
string[] students = {"Jimmy", "Terry", "Jack", "Amanda", "Emily", "Luis"};
Console.WriteLine("\t---------------------------------------");
Console.WriteLine("\tWelcome to Toi ohomai's student system!");
Console.WriteLine("\t---------------------------------------\n");
Console.WriteLine("\t Please enter your system password...");
password = Console.ReadLine();
while(password != "people14")
Console.WriteLine("\tPassword incorrect Please try again");
password = Console.ReadLine();
Console.WriteLine("\tToo many attempts: contact the help service IT at Toiohomai");
while (password == "people14")
Console.WriteLine ("\t---------------------------------------");
Console.WriteLine ("\t Choose from system options below");
Console.WriteLine ("\t---------------------------------------");
Console.WriteLine ("\t1: Veiw total number of students\n\t2: Veiw list of students\n\t3: logout\n");
choice= Console.ReadLine();
Console.WriteLine("\tThe total number of students is " + students.Length + "\n\n");
for(int i = 0; i < students.Length; i++)
Console.WriteLine("\t " + students[i]);
Console.WriteLine("See you later");