Esempio n. 1
0
 public int Compare(object x, object y)
 {
     if ((x is string @string) && (y is string string1))
     {
         return(StringLogicalComparer.Compare(@string, string1));
     }
     return(-1);
 }
Esempio n. 2
0
 public int Compare(object x, object y)
 {
     if ((x is string) && (y is string))
     {
         return(StringLogicalComparer.Compare((string)x, (string)y));
     }
     return(-1);
 }