Determines whether the specified object is equal to the current System.Globalization.CompareInfo object.
- value
- The object to compare with the current System.Globalization.CompareInfo.
true if the specified object is equal to the current System.Globalization.CompareInfo; otherwise, false.
Two System.Globalization.CompareInfo objects are equal if their CompareInfo.LCID and CompareInfo.Name properties are equal.
This method overrides object.Equals(object).
If a security decision depends on a string comparison or a case change, you should use the CultureInfo.InvariantCulture property to ensure that the behavior is consistent regardless of the culture settings of the operating system.