Can someone point me out to some C# code examples or provide some code, where a Dictionary has been used as a property for a Class.
The examples I have seen so far don\'
Here's a quick example
class Example { private Dictionary _map; public Dictionary Map { get { return _map; } } public Example() { _map = new Dictionary(); } }
Some use cases
var e = new Example(); e.Map[42] = "The Answer";