public Person(string userName, string userPass, string firstName, string lastName, int age, char gender, char orientation, DateTime dob, Interests interests) { Username = userName; Password = userPass; FirstName = firstName; LastName = lastName; Age = age; Gender = gender; Orientation = orientation; DateOfBirth = dob; Interests = interests; Messages = new DM(); }
public Person(Interests i) //DEBUGGING USE { Random rnd = new Random(); Names n = new Names(); string defaultpass = "******"; string orientations = "abc"; string genders = "mf"; Username = GetRandomUser(Program.Users); Password = defaultpass; FirstName = GetRandomName(n.Forenames, rnd); LastName = GetRandomName(n.Surnames, rnd); Age = rnd.Next(18, 60); Gender = GetRandomCharacter(genders, rnd); Orientation = GetRandomCharacter(orientations, rnd); DateOfBirth = DateTime.Now; Interests = i; Messages = new DM(); }