public static Compare ( string a, string b ) : int | ||
a | string | |
b | string | |
Résultat | int |
public int CompareTo(Entry other) { if (other == null) { return(-1); } if (!Insensitive.Equals(File, other.File)) { return(Insensitive.Compare(File, other.File)); } return(FileIndex.CompareTo(other.FileIndex)); }
public static int InsensitiveCompare(string first, string second) { return(Insensitive.Compare(first, second)); }
public static int InsensitiveCompare(string first, string second) => Insensitive.Compare(first, second);