For example,
This is my dictionary, mydict
key value 1 1500 2 1900 3 1760 4 1800 5 1460
It should return the maximum value (1900), and the key (2)
But for this:
key value 1 1500 2 1900 3 1760 4 1900 5 1460
It should return maximum value 1900, and the keys (2, 4)
How should I be doing this? Is System.Linq helpful?