Removes the initialization of a variable if it is initialized with the default value.
Available when the caret is on the name of a field in its declaration, provided that the field is initialized with the default value.
Place the caret on the name of a field in its declaration.
The blinking cursor shows the caret's position at which the Refactoring is available.
private int │sum = 0;
Private │sum As Integer = 0
After execution, the Refactoring removes the assignment, which does not change code behavior.
private int sum;
Private sum As Integer