I was trying to use the following statement:
@Html.Test().Nand()
However, Razor is choking at the < before the ISQL.
Any
I had a strange case when I had several assignments inside of one @{ ... }
bock.
@{
// ... other assignments (without error)
List stringList = new List() // ERROR MESSAGE HERE
}
What ever I did, there were always errors, like this:
Using the generic type 'List' requires one type arguments
The solution:
I put the assignment line to a second @{ ... }
bock.
@{
// ... other assignments
}
@{
List stringList = new List() // WORKS
}