public string Prop1 { get; set; }
public Type2 Prop2 { get; set; }
public string Prop { get; set; }
public static void Main()
Type1 testObj = new Type1 {
Prop2 = new Type2 { Prop = "TEST2" }
Console.WriteLine("{0} {1}", testObj.Prop1, testObj.Prop2.Prop);