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

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at WordPress.com.

%d bloggers like this: