Sriram
Sriram

Reputation: 838

Converting Regular Properties to Auto-Implemented Properties

I'm upgrading an old C# code-base and would like to convert the regular properties to auto-implemented properties. Can this be done from Visual Studio?

Upvotes: 3

Views: 546

Answers (2)

TheCloudlessSky
TheCloudlessSky

Reputation: 18353

It is possible using Resharper. You could download a fully functioning trial version for 30 days.

Upvotes: 10

Yogesh
Yogesh

Reputation: 14608

I don't think there is a built in method to do this in VS, but you can use tools like ReSharper to do this sort of refactoring.

Upvotes: 2

Related Questions