This can be done automatically in ReSharper.
This can be done automatically in ReSharper.