Asp.net Web Pages With Razor Syntax -
Use @{ ... } to wrap multiple lines of C# logic, like variable declarations or loops, at the top of your page.
ASP.NET Web Pages with is a lightweight framework designed to mix HTML with server-side C# code seamlessly. It’s built for developers who want a straightforward way to create dynamic web content without the complexity of full MVC patterns. Key Concepts Asp.net Web Pages With Razor Syntax
This is the "magic" character that transitions from HTML to C#. It tells the Razor engine to start processing code instead of static text. Use @{