Exemple #1
0
 public int Compare(object x, object y)
 {
     if ((x is string) && (y is string))
     {
         return(StringLogicalComparer.Compare((string)x, (string)y));
     }
     return(-1);
 }
Exemple #2
0
 public int Compare(string x, string y)
 {
     return(StringLogicalComparer.Compare((string)x, (string)y));
 }