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