For some reason my pinky finger likes to keep the shift key down a bit longer than I normally like. So I end up typing STring.Empty
quite a bit. Visual studio helpfully converts that to string.Empty
which is not the desired behavior. I would much rather it be converted to String.Empty
. Notice the differences in capitalization.
I am quite aware that string
is simply an alias for String
; so this boils down to a simple personal preference on how things are color coded in the IDE.
Is there a way I can tell visual studio to always auto correct to String
instead of to the alias? This could save me an untold number of times pressing the back button on a daily basis.