1
在我的项目中我有resx文件。 MyFile.resx获取resx文件
如果我在我的代码中使用:
MyFile.PropertyOneName; MyFile.PropertyTwoName
一切都很正常,我可以有机会获得这些属性值
但是,如果我想通过字符串参数作为propertyName的什么,获得通过反射:
的typeof(MyFile的).GetProperties返回0元素,而我在这有很多属性:/
任何建议?