ASP.NET MVC - what is this in VB.NET?
Html.TextBox( "name", null, new { @class = "css-class" } );
ASP.NET MVC - what is this in VB.NET?
Html.TextBox( "name", null, new { @class = "css-class" } );
Almost exact duplicate: http://stackoverflow.com/questions/407586/what-is-the-vb-net-code-equivelant-for-c-anonymous-type-code
This is called Anonymous Types and the VB equivalent is :
New With {.Name = "value"}