Saturday, February 28, 2009

C# Refactor Menu Tip

Always use the refactor menu tip when renaming event classes to help debugging in the future.

Steps:
  1. Go to Menu
  2. Select Refactor
  3. Select Rename
  4. Enter method name
  5. Press Enter Twice
Or

  1. Press F2
Reasons Why you should use refactor menu to rename functions:
  1. Safest way to make changes to code
  2. Could cause reference debug errors when something elsewhere is trying to reference that function

No comments:

Post a Comment