Generate private and public field automatically.

In a visual studio 2010 .cs file, type the following keyword and then press TAB twice and SEE THE MAGIC –

  1. prop
  2. propa
  3. propdp
  4. propfull
  5. propg

You can change the type and variables name by just moving around the code block  using Tab Key press.

The original source of this article is here.

Advertisements

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