问题
Can someone tell me what the code equivelant in VB.Net to this C# code is?
new {name="value"}
回答1:
This is called Anonymous Types and the VB equivalent is :
New With {.Name = "value"}
回答2:
That feature is called an anonymous type.
来源:https://stackoverflow.com/questions/407586/what-is-the-vb-net-code-equivelant-for-c-sharp-anonymous-type-code