This questions tests your hands on experience with Razor View Engine - the new View Engine in ASP.NET MVC 3 framework.
The answer is to use parentheses after the @ (at) delimiter.
Razor view code:
The answer is to use parentheses after the @ (at) delimiter.
Razor view code:
...
<a class='@(isCondition?"classA":"classB")' href='/test.html'>My Link<a>
...