What is the difference between <% %> and <%= %> in ASP.NET MVC? And when to use which?
<% %>
<%= %>
See also this question. MVC hasn't changed how these bee-stings work, just how often they're used.
Basically:
<%
<%@
<%$
<%=
<%#
<%--
Also new in ASP.Net 4:
<%:
2.1m questions
2.1m answers
60 comments
57.0k users