public class Prop : Object { public int prop; } public class Person : Object { public string height { get; set; default = null; } public Prop prop {get; set;} } void main () { var p = new Person (); p.height = "Hello, World!"; print (p.height); }