Esempio n. 1
0
 public HamAndCheese()
 {
     sandwich = new Sandwich("Ham and Cheese");
 }
Esempio n. 2
0
 /// <summary>
 /// implementing the filed of the abstract class of Sandwich
 /// </summary>
 public TurkeyClub()
 {
     // creating a new Sandwich and passing it the name of the class as the Sandwich type
     sandwich = new Sandwich("Turkey Club");
 }
Esempio n. 3
0
 public BLT()
 {
     sandwich = new Sandwich("BLT");
 }