我可以从全局资源文件(语言)中读取密钥和值:
using (var reader = new ResXResourceReader(Server.MapPath(@"\App_GlobalResources\language" + language + ".resx")))
{
resx = reader.Cast<DictionaryEntry>().ToList();
foreach (DictionaryEntry entry in resx)
{
if (entry.Key != null && entry.Value != null)
{
var key = entry.Key;
var value = entry.Value;
}
}
reader.Close();
}
是否可以阅读第三栏(注释)?