Beispiel #1
0
 public Animal CreateAnimal(string variety, string name, Taxonomic taxonomikClass)
 {
     return(new Animal(variety, name, taxonomikClass));
 }
 public Animal(string variety, string name, Taxonomic taxonomikClass)
 {
     Name           = name;
     TaxonomikClass = taxonomikClass;
     Variety        = variety;
 }