C # - do all even lines at once

The var keyword in C # is a great time saver when coding, but when you look back at code that is not fresh in your mind, it is more useful to have explicit types in the code.

I have an express code that allows me to "Explicit" 1 var keyword at a time.

Are there any tools or add-ons that immediately transform many of them?

+5
source share
2 answers

Yes Resharper can do this using code cleanup macros. If you want to use explicit or implicit types, this is a parameter.

+7
source

Coderush api, - DX. , , DxCore. , CodeRush. , var, , , .

+2

All Articles