Previous Section   Next Section

Q&A

Q1:

If I can only embed one .resources file into an assembly, does that mean I have to put every language resource into one file?

A1:

No, it doesn't. The ResourceManager class has a CreateFileBasedResourceManager function that supports the reading of .resources files. You can use multiple .resources files in different languages.

Q2:

I know I can create resources manually using an XML editor or the ResEditor utility. Are there any other ways?

A2:

Yes, there is another way. You can also programmatically create resources using the ResourceWriter class. In fact, this is exactly the way the ResEditor.exe tool reads and writes resources.


  Previous Section   Next Section
Top