views:

36

answers:

2

Hello

The title contain my whole question.

+1  A: 

For a good explanation about the <%, <%= and <%# syntax and their usage, please read this article.

The <%: syntax is new in .Net 4 and is used for encoding HTML output. See this article of ScottGu for more information about that.

Prutswonder
+5  A: 
<% /* Is a codeblock */ for(int i = 0;i<5;i++) { } %>
<%= "Writes something to the output stream" /* Response.Write */ %>
<%: "HTML-encodes this <b>hello</b> to the output stream" %>
Kenny Eliasson