How extract the messages strings from a .net class to a resource?
I have my c# class file (.cs), and this have messages st开发者_如何学JAVArings.
How to generate a resource file from the class file?
If you are looking for extracting strings to resource:
- Resource Refactoring Tool
If you are looking for reading from the resource file:
- .NET - Localization using Resource file
- CSharp reading string from resource file
Message strings are a UI implementation detail. Consider an enum first. Next, leverage Project + Properties, Resources tab to enter resource strings.
精彩评论