Introduce Property
Hi,
is there a shortcut for introducing a property for a variable ?
Example:
I have following line:
anyObject.ToString();
Now I want to introduce a property for the anyObject.ToString() result. But there is only refactoring for introducing Field, Parameter or Variable. See picture.
My workaround is to introduce a field and then encapsulate this field. Is there a faster way ?
Regards
Markus
Please sign in to leave a comment.