ASP.NET Tutorial/LINQ/Anonymous Types
Версия от 15:30, 26 мая 2010; (обсуждение)
Understanding Anonymous Types
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"}