-----------------------------------------------------------

New Message on BDOTNET

-----------------------------------------------------------
From: Varad_RS
Message 55 in Discussion

Visual Studio 2005 IDE - Refactor Menu
-----------------------------------------------------------

In VS 2005 IDE, you can notice a new menu named "Refactor" placed next to 
"View" menu. This new feature (available only in C# and J# - Beta 2 version) 
helps the developer to improve the quality of code by restructuring it 
internally. Following are the options available on the Refactoring Menu.

1. Extract Method: This is to split a method into many fine grained methods 
which are reusable.

2. Rename: This is used to rename an identifier i.e. field, variable, method 
etc.

3. Encapsulate Fields: Creating a property to encapsulate a field.

4. Extract Interfaces: Creating an interface which is implemented by current 
class.

5. Promote Local Variable to Parameters: Moving a local variable to 
parameter level.

6. Remove Parameters: Removing parameters from methods, indexers, 
constructors, delegates.

7. Reorder Parameters: Changing the order of parameters.

8. Generate Method Stub: Automatic code generation based on the consumption 
of a method.

9. Add Using Unbound Types: Automatic inclusion of namespace for an unbound 
type.

For more information on Refatoring in VC#, see this article on MSDN

http://msdn.microsoft.com/vcsharp/default.aspx?pull=/library/en-us/dnvs05/html/vs05_refac.asp


Regards,
Varad
http://weblogs.asp.net/Varad
       "We Learn Together & We Grow Together"

_________________________________________________________________
On the road to retirement? Check out MSN Life Events for advice on how to 
get there! http://lifeevents.msn.com/category.aspx?cid=Retirement



-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/BDotNet/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member 
Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you 
received this message by mistake, please click the "Remove" link below. On the 
pre-addressed e-mail message that opens, simply click "Send". Your e-mail 
address will be deleted from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to