Exemplo n.º 1
0
 private static void EatRandomCandy(CandyStorage db)
 {
     Console.WriteLine("Here is a list of flavors that are available:");
     db.PrintFlavorList();
     Console.WriteLine("Choose one flavor by typing it in and hitting enter to eat a random candy of that flavor!");
     db.FindRandomCandy();
 }