public static void Commands()
Console.WriteLine("Welcome to Command Search. Type your command.");
inp = Console.ReadLine();
}else if (inpUp == "/COMMANDS")
}else if(inpUp == "/CMD")
public static void CommandsMenu()
Console.WriteLine("Commands: ");
Console.WriteLine("/MainMenu - returns to the main menu");
Console.WriteLine("/Calculator - Calculator Application");
Console.WriteLine("/Settings - Settings Menu");
Console.WriteLine("/ShutDown - Restarts the program");
Console.WriteLine("================================================");
Console.WriteLine("Type /exit to exit the Commands Menu. You will then be allowed to enter one of the above commands. You can't use commands in this menu.");
inp = Console.ReadLine();
public static void MainMenu()
Console.WriteLine("================================================");
Console.WriteLine("Welcome to the OS. Type /commands to check commands.");
Console.WriteLine("================================================");
{mainI = Console.ReadLine();
mainUp = mainI.ToUpper();
if(mainUp == "/COMMANDS")
Console.WriteLine("Invalid Command. Try Again.");
public static void Main()
Console.Write("Welcome. Please enter your name: ");
usr = Console.ReadLine();
Console.WriteLine("Now please enter your password: ");
passI = Console.ReadLine();
Console.WriteLine("Welcome, " + usr + ".");
Console.WriteLine("Attempt " + attempt + ". Incorrect password. Please try again.");