title: ASP.NET MVC @helper syntax vs Html Helper Extension methods
body: <p>I need to create custom html helper method. As far as I know there are two ways:</p>
  
  <ol>
  <li><p>Use @helper razor syntax. <a href="http://weblogs.asp.net/scottgu/archive/2011/05/12/asp-net-mvc-3-and-the-helper-syntax-within-razor.aspx" rel="noreferrer">http://weblogs.asp.net/scottgu/archive/2011/05/12/asp-net-mvc-3-and-the-helper-syntax-within-razor.aspx</a></p></li>
  <li><p>Create HtmlHelper extension method.</p></li>
  </ol>
  
  <p>What solution is better and why? What are advantages and disadvantages? </p>
  
  <p>I only read that in MVC 3 when @helper is created globally in seperate .cshtml file it's impossible to use other build-in html helpers. Don't know maybe in MVC 4 it is possisble.</p>
  
  <p>Please help.</p>