public static MyKeyValue <int, string>[] CreateOrderedMKVArray(int numberOfItems)
 {
     MyKeyValue <int, string>[] array = new MyKeyValue <int, string> [numberOfItems];
     foreach (int k in Enumerable.Range(1, numberOfItems))
     {
         array[k - 1] = new MyKeyValue <int, string>(k, "");
     }
     return(array);
 }
 public static MyKeyValue <int, string>[] CreateReverseOrderedMKVArray(int numberOfItems)
 {
     MyKeyValue <int, string>[] numbers = CreateOrderedMKVArray(numberOfItems);
     for (int i = 0; i < numberOfItems / 2; i++)
     {
         MyKeyValue <int, string> tmp = numbers[i];
         numbers[i] = numbers[numberOfItems - 1 - i];
         numbers[numberOfItems - 1 - i] = tmp;
     }
     return(numbers);
 }
 public int CompareTo(MyKeyValue <K, V> other)
 {
     return(Key.CompareTo(other.Key));
 }