ASP.NET Tutorial/LINQ/Anonymous Types — различия между версиями
Admin (обсуждение | вклад) м (1 версия) |
|
(нет различий)
|
Версия 18:30, 26 мая 2010
Understanding Anonymous Types
<source lang="csharp">
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"}</source>