What is wrong Mvc.net 4.0.0.1 Razor 2

87 views Asked by At
@{
string LoginIP = " ";
string LoginUser = " ";

}

<strong>    Aktiviteler | </strong><a href="#">user: <b>@LoginUser.ToString()&nbsp;&nbsp;</b><b>@LoginIP.ToString()</b></a><br/>

It gives an "Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index" error``.

It's comic !

0

There are 0 answers