Writing a comparer, the numbers can be from 1-20.
I have 2 hashtables that contain numbers:
htGroup1
htGroup2
The hashtables cover all the numbers between 1 and 20.
Now I'm writing a custom comparer for some commercial grid control, and it provides me with Value1 and Value2.
I have to set a property with either 0 (match), -1 or 1:
e.Result = result; // where result is 0, 1 or -1.
How can I determine the result so it groups all numbers into 2 sets (based on Group1 and Group2).
I'm writing a custom comparer for a devexpress aspxgrid control, details here: http://documentation.devexpress.com/#AspNet/DevExpressWebASPxGridViewASPxGridView_CustomColumnGrouptopic