public string firstName {get; set;}
public string lastName {get; set;}
public float height {get; set;}
public float weight {get; set;}
public Person(int id, string dob, string fname, string lname, float h, float w)
Console.WriteLine("DOB:{0} FN:{1} LN:{2} H:{3} W:{4} ID:{5}",DOB, firstName, lastName, height, weight, Id);
public class Account:Person
public int accountNumber {get;}
public new string DOB {get;}
public Account(int acct, string first, string last, string dob)
public static void Main()
var test = new Person(98765,"5/15/2005","Joe","Thomas",5.43f,240.9f);