|
Such.
When the resource file is generated, the default access type is internal. In other words, it can only be accessed in the same assembly.
Therefore, if you access the resource file in the same assembly, for example, the file name is "Strings.en-US.resx", just write in the program
string s = Strings_en-US.div_top; // The automatically generated class of the resource file after compilation will replace "." in the file name with "_". |
|