Sunday, July 06, 2008

image Many times developers will find themselves working with an object, and wanting to know more information about how it is defined and designed.

For example, you are working with a Customer object and you want to look at the Customer.cs file and find out what the Customer object has to offer. What methods, properties, and events does it have for you to work with?

There are several ways for learn more about our Customer class. One you could use the Solution Explorer and manually locate the wanted Customer.cs file. This is a slow process and requires you to already know name and location of the class you want to review. Sometimes it may not be as simple as added a .cs extension the object.

Another approach would be to right click on Customer object and choose Go to Definition. This will take you there automatically, so it is much quicker. But there is an even faster way, and this is the way you wan to use:

Go to Definition
F12

This keyboard shortcut is so important that it is assigned to a function key. This requires only one key press.

Note: The image to the right will take you to a full size image if you want to see this in more detail.

Feedback:

If you have a favorite Visual Studio Tip or Trick be sure to share it in the comments. I’ll compile a list and post it for everyone once there are enough.

PowerPoint: 31 Days of Visual Studio 2008 Tips & Tricks.pptx (Note: PowerPoint is updated daily to include new items.)


Sunday, July 06, 2008 13:51:00 (Eastern Standard Time, UTC-05:00)  #    Comments [0]  |  Trackback
Comments are closed.

Theme design by Jelle Druyts

Pick a theme: