public Bird(PET_TYPE t, PET_COLOR c, string n) : base(t, c, n)
 {
 }
Пример #2
0
 public Dog(PET_TYPE t, PET_COLOR c, string n, string dogsBreed) : base(t, c, n)
 {
     DogsBreed = dogsBreed;
 }
Пример #3
0
 public Dog(PET_TYPE t, PET_COLOR c, string n) : this(t, c, n, "Mutt")
 {
 }
Пример #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;
 }
Пример #5
0
 public Reptile(PET_TYPE t, PET_COLOR c, string n) : base(t, c, n)
 {
 }
Пример #6
0
 public Amphibian(PET_TYPE t, PET_COLOR c, string n) : base(t, c, n)
 {
 }