What's the difference between these 2 in Razor? I find that I can accomplish the same, whether I use @:
or <text>
.
Difference between @: and <text> in Razor
Scott Guthrie wrote about both on his blog. His answer basically boils down to <text>
supports multiple lines, while @:
is meant to be a more compact form for a single line.
So, they're functionally the same? –
Rosetta
@Rosetta It appears so. –
Frimaire
© 2022 - 2024 — McMap. All rights reserved.