I create the person object like this.
Person person=new Person(\"Sam\",\"Lewis\")
It has properties like this.
person.Dob
Take a look at the ExpandoObject.
For example:
dynamic person = new ExpandoObject(); person.Name = "Mr bar"; person.Sex = "No Thanks"; person.Age = 123;
Additional reading here.