Код: Выделить всё
Dictionary types = new Dictionary()
{
{"1", "one"},
{"2", "two"},
{"3", "three"}
};
Код: Выделить всё
getByValueKey(string value);
Код: Выделить всё
getByValueKey("one")Как лучше всего это сделать? Может быть, HashTable или SortedLists?
Подробнее здесь: https://stackoverflow.com/questions/244 ... y-by-value
Мобильная версия