Two-way / bidirectional Dictionary in C#? I want to store words in a dictionary in following way: I can get word code by word: dict["SomeWord"] -> 123 and get word by word code: dict[123] -> "SomeWord" Is it real? Of course one way to do it is two dictionaries: Dictionary and Dictionary but is there another way? I wrote a quick couple of classes that lets you do what you want. You'd probably nee..