As for the use cases of the Razor expression (ASP.Net), there are two cases:
<div title="@MyClass.Test"></div>
and
<div title=@MyClass.Test></div>
Since they both work the same on Razor 2.0, I would like to know if there are any differences, especially in the case of corners (null / malfored values, etc.).
In the end, I would also like to know what is best for practice. Thank you in advance.
source
share