C# Class Persons.Person

Mostrar archivo Open project: Y-LyN-10/Software-University-Courses Class Usage Examples

Public Methods

Method Description
Person ( string name, int age ) : System
Person ( string name, int age, string email ) : System
ToString ( ) : string

Private Methods

Method Description
IsValidEmail ( string email ) : bool

Method Details

Person() public method

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

Person() public method

public Person ( string name, int age, string email ) : System
name string
age int
email string
return System

ToString() public method

public ToString ( ) : string
return string