Do you need to fully-qualify a class or add a using statement?

Press Alt-Shift-F10 with your cursor over a class name (it has to be the correct case), and you can press enter to add a using statement (You might have to select the right one first), or you can also select an option to fully qualify the class name.

Do you need to write a method in another class?

How many times to you go to call a method and then find out you need to add a new override with an additional parameter or that you forgot to write the method entirely? Just go ahead and call the method (make sure you use the correct case), then with the cursor over the name of the method hit Alt-Shift-F10 then select "Generate method stub for...". Now right click on the method and select "Go To Definition" and replace the NotImplementedException with your code.

Last edited Jul 3, 2009 at 6:15 AM by douglampe, version 1

Comments

No comments yet.