0
Reply

refactoring code in visual studio

Tim Ouwerkerk

Tim Ouwerkerk

May 26 2013 8:30 AM
934
Hello everyone,

i have a question about refactoring my code, currently im following all kinds of tutorials for c# in visual studio.

and I see them using the encapsulate field option by right clicking on a field and clicking encapsulate field.

their menu looks like:

-rename
-extract method
-----------------------
-encapsulate field
-extract interface
-remove parameters
-reorder parameters

but mine only shows 2 of them

-rename
-extract method

why cant I see the rest of the items which everyone else does have?

thanks.