August 2010
Intermediate to advanced
1224 pages
34h 17m
English
You can get Visual Studio to automatically generate a method stub for you. This is not strictly a refactoring operation but can provide some similar increases in productivity. The scenario where this is applicable is as follows. Suppose you are writing code that calls a method off one of your objects. However, that method does not exist. You can still write code to make the call to the nonexistent method. Visual Studio then recognizes that this method does not exist and provides you with a smart tag (see Figure 10.15) to create the method.
Figure 10.15 Generate a method stub for a nonexistent method.

Clicking on the smart ...