@helper / razor

 

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
Comments are closed