public Bird(PET_TYPE t, PET_COLOR c, string n) : base(t, c, n)
 {
 }
Esempio n. 2
0
 public Dog(PET_TYPE t, PET_COLOR c, string n, string dogsBreed) : base(t, c, n)
 {
     DogsBreed = dogsBreed;
 }
Esempio n. 3
0
 public Dog(PET_TYPE t, PET_COLOR c, string n) : this(t, c, n, "Mutt")
 {
 }
Esempio n. 4
0
 public Pet(PET_TYPE pType, PET_COLOR PColor, string n)
 {
     PetColor = PColor;
     petType  = pType;
     PetName  = String.IsNullOrEmpty(n) ? "'I got no name'" : n;
 }
Esempio n. 5
0
 public Reptile(PET_TYPE t, PET_COLOR c, string n) : base(t, c, n)
 {
 }
Esempio n. 6
0
 public Amphibian(PET_TYPE t, PET_COLOR c, string n) : base(t, c, n)
 {
 }