public void AddRequest(char c) { string result; switch (char.ToLower(c)) { case 'm': result = Add.AddMilk(this, cart); break; case 'b': result = Add.AddBread(this, cart); break; case 'e': result = Add.AddEggs(this, cart); break; case 'o': result = Add.AddOranges(this, cart); break; case 'p': result = Add.AddPepsi(this, cart); break; case 'f': result = ""; break; default: result = "\nTry again!"; break; } Console.WriteLine(result); }