DCSIMG
DEV,C# - Ran Wahle's blog

Ran Wahle's blog

Browse by Tags

All Tags » DEV » C# (RSS)
Bi-directional Dictionary implementation
There were several times, during my short development career, that I’ve used Dictionary. It may not be on most cases, but I’m sure in many of them, I needed to find a dictionary item by it’s value whereas the dictionary’s values were unique as well as it’s keys. This led me to the motivation of developing a dictionary that will support bi-directional access....
Code snippet for control wrapping properties
many of us, I’m sure, needed to wrap inner controls of a user\custom control with public properties. That’s in order to have their control encapsulated, and to add some code flexibility (If the control is changing, all I need to do is change the code of my property and the rest remains intact....