public static void Main()
string[] students = {"Bruce", "Lee", "Tonicha", "Lani", "Lucy"};
int studentNumbers = students.Length;
Console.WriteLine("Welcome to the Student System, Please enter password to access.");
password = Console.ReadLine();
while(password != "12345")
Console.WriteLine("Password incorrect \n");
Console.WriteLine("Please enter password again \n");
password = Console.ReadLine();
Console.WriteLine("Access Granted: Please use the menu below...\n");
Console.WriteLine("Press 1 to view number of students\nPress 2 to view student names");
num1 = Console.ReadLine();
Console.WriteLine("The number of students in the class is: " + studentNumbers);
Console.WriteLine("Students in the class");
for(int i = 0; i < studentNumbers; i++)
Console.WriteLine(students[i]);