@helper / razor

February 10, 2011

Here’s a neat little trick.

Declare a helper function in your view with the @helper syntax

Note: you will get intellisense when you type the @ listing the GiveHigh5 function.

Here’s the output:

enjoyThumbs up