/// <summary> /// Initializes a new instance of the <see cref="AttractivePerson"/> class /// </summary> /// <param name="name">A string in the format "Name" or "FirstName LastName"</param> /// <param name="gender">One of the two available: "CoolChick" or "HotDude"</param> /// <param name="age">Person's age as integer</param> public AttractivePerson(string name, AttractiveGenders gender, int age) { this.Name = name; this.Gender = gender; this.Age = age; }
/// <summary> /// Initializes a new instance of the <see cref="AttractivePerson"/> class /// </summary> /// <param name="name">A string in the format "Name" or "FirstName LastName"</param> /// <param name="gender">One of the two available: "CoolChick" or "HotDude"</param> /// <param name="age">Person's age as integer</param> public AttractivePerson(string name, AttractiveGenders gender, int age) { this.Name = name; this.Gender = gender; this.Age = age; }