static void Main(string[] args) { Console.WriteLine("-------- Hello there! --------"); customer userinput = new customer(); userinput.userDet(); Console.WriteLine("What do you want to do today?"); choice myNumber = new choice(); myNumber.choose(); }
public void cont() { Console.WriteLine("Do you want to continue?\nYes/No?"); string buh = Console.ReadLine(); if (buh == "yes" || buh == "Yes" || buh == "YES") { choice newvar = new choice(); newvar.choose(); } else { Console.WriteLine("Thankyou for choosing us!"); return; } }