C# Class Animals.Animal

ファイルを表示 Open project: nzhul/TelerikAcademy Class Usage Examples

Public Methods

Method Description
Animal ( string name, int age ) : System
Animal ( string name, int age, Sex sex ) : System
AverageAge ( List animalList ) : int

Method Details

Animal() public method

public Animal ( string name, int age ) : System
name string
age int
return System

Animal() public method

public Animal ( string name, int age, Sex sex ) : System
name string
age int
sex Sex
return System

AverageAge() public static method

public static AverageAge ( List animalList ) : int
animalList List
return int