The Reverse Assignments refactoring allows you to easily reverse all assignments inside a selection.
Supported: C#, VB.NET
To reverse assignments
Select the assignments you want to reverse.
Press Alt+Insert. From the pop-up menu select Reverse Assignments.
The result is:
Assignments that break code when reversed will be skipped and you will be notified for that.