I have a SortedDictionary:
static SortedDictionary<string, int> myDictionary = new SortedDictionary<string, int>();
where the keys represent strings something like that:
string key = someNumber + " " + row + " " + col + " " + someString;
What I want is to find all the items in the sorted dictionary that have specific row and col. For example if I have the following keys:
1 2 3 p
3 2 3 p
2 2 3 t
5 1 6 p
8 2 1 p
7 2 3 t
I want to get only these keys that have row=2 and col=3:
1 2 3 p
3 2 3 p
2 2 3 t
7 2 3 t