Mhazad's Blog

January 12, 2011

Short cut to generate different property snippets in Visual Studio

Filed under: C#, Visual Studio — Mahmudul Haque Azad @ 4:15 am

These may be familiar to you. But many of you may not know the shortcut mentioned in the 2nd point here 🙂

1. Simple property, type prop and press tab.

2. Simple property with backing field, type propfull and press tab.

3. Simple property with private set, type propg and press tab.

4. Dependency property, type propdp and press tab.

Advertisements

Blog at WordPress.com.