title: Differences between Response.End() and Response.Flush()
body: <p>I have code like this:</p>
  <pre><code>context.HttpContext.Response.Clear();
  context.HttpContext.Response.Write(htmlString);              
  context.HttpContext.Response.End(); 
  </code></pre>
  <p>But when pages are loaded I have an unclosed HTML tag in them. When I replace <code>Response.End()</code> with <code>Response.Flush()</code> it works fine.</p>
  <p>What is difference between <code>Response.End()</code> and <code>Response.Flush()</code>?</p>