Tim Ouwerkerk

Tim Ouwerkerk

  • NA
  • 1
  • 1.3k

refactoring code in visual studio

May 26 2013 8:30 AM
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.