I recommend separate static class files with static read-only strings.
- The XML Resource files are hard to source-control
- The UI for resource strings are hard to scroll through and edit in-place
It’s better when strings are in code-files, with multi-line strings using @”” or $@””. Maybe append “Resources” at the end of the class name, as a convention.
- You can use any coding techniques with them
- You can be more cohesive, create multiple separate classes
- You can have static functions to take and apply parameters
- You use the normal text editor
- You can press F12 on a reference, and get directly to editing the string
- No XML to deal with – less merge conflicts