it seems easy but I can't get it to work. I am trying to declare a variable using vb.net in my layout.
I tried
@Dim lst As New List(Of String)
and also
@{Dim lst As New List(Of String)}
like I have seen in an other SO question but for C# and MVC3.