Вот как выглядит мой файл RESX:
Name Value Comments
Rule_seconds seconds seconds
Rule_Sound Sound Sound
Я хочу: Имя по строке Значение, что-то вроде ниже:
public string GetResxNameByValue(string value)
{
// some code to get name value
}
И реализуйте его, как показано ниже:
string str = GetResxNameByValue("seconds");
чтобы str
вернул Rule_seconds
Спасибо!