Here’s a neat little trick.

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

image

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

 

Here’s the output:

image

enjoyThumbs up
About Brian Keating
Brian Keating
Professional Software Developer, .NET / C++ / Java View all posts by Brian Keating →