SYSK 38: Visual Studio 2005 Code Snippets

Did you know that if you type prop and press Tab key two times, VS will create a property definition for you as follows:
      private int myVar;

      public int MyProperty
{
get { return myVar; }
set { myVar = value; }
}
The int, myVar and MyProperty will be highlighted.  As you change int to your data type (e.g. string) in the data member variable declaration, the VS will change it correspondingly in the property declaration.  Same applies to myVar.  Cool, hah?

For more code snippets, click on Tools -> Code Snippets Manager…

Special thanks to Gary Lee who brought this to my attention.