In R#’s option menu scroll down the Templates section and click the Live Templates node. Click on the User Templates node to see the user templates that are already created. Then click the Create Template toolbar item:

Type the abbreviation you want to use, a description of the template and the template text. There is a help doc to help you with the syntax and keywords of their scripting language (http://www.jetbrains.com/resharper/documentation/help20/Templates/LiveTemplates/editLive.html)

Now when you type the abbreviation in the code it will see your template, and by pressing Tab it will complete the code for you.

