Should I use settings, store them as resources, load them into a Dictionary, or just hard-code them?
Or is there another, better way?
I've been hard-coding the开发者_开发百科m for apps that don't need localization, but it seems like there might be a more elegant approach.
In general, using resource files still works well. It gives the advantage of being able to use consistent text (error messages, warnings, notices, etc.) and allows you to modify text without rebuilding your app.
I would store them in resources anyway.
精彩评论