예제 #1
0
 public Frog(string name, int age, SexOfAnimal sex, string jucausa) : base(name, age, sex)
 {
     this.jucausa = jucausa;
 }
예제 #2
0
파일: Cat.cs 프로젝트: Bvaptsarov/Homework
 public Cat(String name, int age, SexOfAnimal sex)
     : base(name, age, sex)
 {
 }
예제 #3
0
 public Frog(string name, int age, SexOfAnimal sex) : this(name, age, sex, "prea jucausa")
 {
 }
예제 #4
0
 public Tomcat(string name, int age, SexOfAnimal sex)
     : base(name,age,sex)
 {
 }
예제 #5
0
파일: Dog.cs 프로젝트: Bvaptsarov/Homework
 public Dog(string name, int age, SexOfAnimal sex)
     : base(name,age,sex)
 {
 }
예제 #6
0
 public Animal(string name, int age, SexOfAnimal sex)
 {
     Name = name;
     Age = age;
     Sex = sex;
 }
예제 #7
0
 public Kitten(string name, int age, SexOfAnimal sex)
     : base(name,age,sex)
 {
 }
예제 #8
0
 public Tomcat(string name, int age, SexOfAnimal sex) : this(name, age, SexOfAnimal.Male, "orange")
 {
 }
예제 #9
0
 public Tomcat(string name, int age, SexOfAnimal sex, string color) : base(name, age, SexOfAnimal.Male, color)
 {
 }
예제 #10
0
 public Kitten(string name, int age, SexOfAnimal sex) : this(name, age, SexOfAnimal.Female, "pink")
 {
 }
예제 #11
0
 public Kitten(string name, int age, SexOfAnimal sex, string color) : base(name, age, SexOfAnimal.Female, color)
 {
 }
예제 #12
0
 public Cat(string name, int age, SexOfAnimal sex, string color) : base(name, age, sex)
 {
     this.color = color;
 }
예제 #13
0
 public Cat(string name, int age, SexOfAnimal sex) : this(name, age, sex, "black&white")
 {
 }
예제 #14
0
 public Dog(string name, int age, SexOfAnimal sex, string rasa) : base(name, age, sex)
 {
     this.rasa = rasa;
 }
예제 #15
0
 public Dog(string name, int age, SexOfAnimal sex) : this(name, age, sex, "Labrador")
 {
 }
예제 #16
0
 public Animal(string name, int age, SexOfAnimal sex)
 {
     this.name = name;
     this.age  = age;
     this.sex  = sex;
 }