var customer = new {FirstName = "Stephen", LastName = "Walther"};Here's how you would create the same anonymous type in VB.NET:Dim customer = New With {.FirstName = "Stephen", .LastName = "Walther"}