Creating Comment Lines in C# Razor Syntax

Razor Syntax Comments in C#

Every programming language has it’s own way to do comments.

C# has it’s own native comment markup for comments and so does C# Razor syntax.

While C# mirrors JavaScript on how you markup comments with // for single line comments and /* */ for multi Line comments.

Razor use @* comment *@. Think JavaScript but replace the / with an @.

That’s all for today, thanks for reading.