You cannot change the templates used during refactoring.
Templates that you can modify are available in% ProgramFiles% \ Microsoft Visual Studio 9.0 \ Common7 \ IDE. In particular, most CSharp for empty files, etc. Located in% ProgramFiles% \ Microsoft Visual Studio 9.0 \ Common7 \ IDE \ ItemTemplates \ CSharp
Perhaps the person making you use "String" would change his ways if he realized how much time wasted. I personally do not understand this ...
The IDE uses a "string" rather than a "String" in all generated code - therefore, forcing a non-standard "standard", your team invites you to inconsistency. People may argue that it is better until they turn blue in the face - but, as you point out, using "String" is a pain in the ass .
source share