static void Main(string[] args) { string input; while(true) { Console.Clear(); SplashScreen(); Menu(); Console.Write("Enter Text: "); input = Console.ReadLine(); Console.Clear(); SplashScreen(); if (input.Equals("-h")) { input = "Drugs are bad, so, if you do drugs, you're bad, because drugs are bad. They can hurt your body, cause drugs are bad."; Console.WriteLine("Example input: " + input + "\n\n"); System.Threading.Thread.Sleep(3000); } if (input.Equals("-q")) break; Mkay mkay = new Mkay(input); mkay.computeString(); Console.ReadLine(); } Console.Clear(); SplashScreen(); Console.WriteLine("Have a good day you awesome individual!"); Console.WriteLine("© 2015 Alex L'Esperance"); System.Threading.Thread.Sleep(5000); }
static void Main(string[] args) { string input; while (true) { Console.Clear(); SplashScreen(); Menu(); Console.Write("Enter Text: "); input = Console.ReadLine(); Console.Clear(); SplashScreen(); if (input.Equals("-h")) { input = "Drugs are bad, so, if you do drugs, you're bad, because drugs are bad. They can hurt your body, cause drugs are bad."; Console.WriteLine("Example input: " + input + "\n\n"); System.Threading.Thread.Sleep(3000); } if (input.Equals("-q")) { break; } Mkay mkay = new Mkay(input); mkay.computeString(); Console.ReadLine(); } Console.Clear(); SplashScreen(); Console.WriteLine("Have a good day you awesome individual!"); Console.WriteLine("© 2015 Alex L'Esperance"); System.Threading.Thread.Sleep(5000); }