Which set of symbols are used to signify the presence of ASP.NET code?
-
<<span></span>@
-
<<span></span>#
-
<<span></span>$
-
<<span></span>%
-
<<span></span>&
ASP.NET uses <% and %> delimiters to mark code blocks in server-side pages. These are called 'render blocks' and can contain C# or VB.NET code that executes on the server. The @ symbol is for directives (# is old syntax), $ is not used in ASP.NET (though used in other template engines).
ASP.NET (classic Web Forms) code blocks are delimited by <% and %>, e.g. <% Response.Write("hi"); %>, and the special <%= %> / <%# %> / <%@ %> variants build on that base pair for output, data-binding, and directives respectively. So <% ... %> is the fundamental marker. @ alone denotes a page directive attribute, # alone is used for data-binding expressions, and $ and & are not ASP.NET delimiters at all — they're unrelated symbols, making them wrong.