I have a SortedList filled with keys and values. When I try GetKey(index), I get my key, and when I try GetByIndex(index), I get my value. But when I try to use IndexOfKey() or ContainsKey(), I get the following error:
"Failed to compare two elements in the array."
I need to place each key/value element into a ComboBox (which I've been able to do), then set the selected item of the ComboBox to the element with a specific key, so I need find the index for that specific key, but everything I try gives me the above error.