Friday, April 21, 2006

Visual Studio 2005 Shortcut

Every once in a while, I run across a feature that I love. Here is one of the more recent ones:


If you are writing a private variable with property access in a class, just type prop and hit tab in C# and it creates the guts for you. Even better, you tab between fields that need to be updated and it remains consistent in the properties.


I'm not sure this really is better than using the class modeling tool, but it is an option for those of us that like to hand type everything. I do have to admit though, the class modeling tool in vs 2005 is pretty nice too. ;)


This tip is from an email list I subscribe to from sqlmag.com. The list is the Developer / .Net Update.

No comments: