BidirectionalDictionary

Sep 17, 2008 at 8:25 PM
It happen a lot to me that I need a bidirectional dictionary which is a dictioanry in which every key has value and each key is unique and each value is unique.$0This way it is possible to search for value by key and also search for key by value.$0$0$0$0$0It can be great addition to the libray.$0
Sep 18, 2008 at 1:35 PM
I've often needed such a data structure. However, it is almost always absent from data structure libraries! I've not seen an implementation of one for .NET either. C++ has such a data structure in the Boost libraries.