What ReSharper 4+ live templates for C# do you use?

Rinat Abdullin picture Rinat Abdullin · Oct 9, 2008 · Viewed 11.8k times · Source

What ReSharper 4.0 templates for C# do you use?

Let's share these in the following format:


[Title]

Optional description

Shortcut: shortcut
Available in: [AvailabilitySetting]

// Resharper template code snippet
// comes here

Macros properties (if present):

  • Macro1 - Value - EditableOccurence
  • Macro2 - Value - EditableOccurence

Answer

Sean Kearon picture Sean Kearon · Feb 15, 2011

Simple Lambda

So simple, so useful - a little lambda:

Shortcut: x

Available: C# where expression is allowed.

x => x.$END$

Macros: none.