Developer, Former MVP, now at Microsoft - Best of 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013
var o = new SomeType(); //inferenceSomeType o = new SomeType {SomeField=DateTime.Now, AnotherField=5.6}; //initialisers
var o = new SomeType {SomeField=DateTime.Now, AnotherField=5.6};
Dim o = New SomeType With {.SomeField = DateTime.Now, .AnotherField = 5.6}
var o = new {SomeField=DateTime.Now, AnotherField=5.6};
Dim o = New With {.SomeField = DateTime.Now, .AnotherField = 5.6}
var o2 = new {DateTime.Now, AnotherField=5.6};
Dim o2 = New With {DateTime.Now, .AnotherField = 5.6}