System.Globalization.CultureAwareComparer.Compare C# (CSharp) Method

Compare() public method

public Compare ( string x, string y ) : int
x string
y string
return int
        public override int Compare(string x, string y)
        {
            if (Object.ReferenceEquals(x, y)) return 0;
            if (x == null) return -1;
            if (y == null) return 1;
            return _compareInfo.Compare(x, y, _options);
        }