Could you explain me what is meant by '@' sign before each variable in cshtml?
@ is used to switch from view markup to code. Whether to print a single value or to write a code block.
From ASP.NET:
The @ character starts inline expressions, single statement blocks, and multi-statement blocks:
Read a tutorial on its syntax
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With