Пример #1
0
 public CinnamonCrunch()
 {
     Console.WriteLine("CinnamonCrunch");
     Console.WriteLine("Toppings: ");
     toppings[tCount++] = new CinnamonDust();
     toppings[tCount++] = new PeanutCrunch();
 }
Пример #2
0
 public ChocoCrunch()
 {
     Console.WriteLine("ChocoCrunch");
     Console.WriteLine("Toppings: ");
     toppings[tCount++] = new PeanutCrunch();
 }