mscorlib [00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00] 1.0.5000.0 2.0.0.0 4.0.0.0 Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details. System.Object System.Collections.IComparer System.Runtime.InteropServices.ComVisible(true)

implements the interface supporting case-insensitive comparisons on strings, just as implements the interface supporting case-insensitive comparisons on strings.

The class is the default implementation of the interface and performs case-sensitive string comparisons.

The objects used as keys by a are required to override the method (or the interface) and the method (or the interface). The implementation of both methods or interfaces must handle case sensitivity the same way; otherwise, the might behave incorrectly. For example, when creating a , you must use this class with the class or any case-insensitive implementation.

String comparisons might have different results depending on the culture. For more information on culture-specific comparisons, see the namespace and Encoding and Localization.

Compares two objects for equivalence, ignoring the case of strings.

- Constructor
  1.0.5000.0
  2.0.0.0
  4.0.0.0

  When the instance is created using this constructor, the of the current thread is saved. Comparison procedures use the saved culture to determine the sort order and casing rules; therefore, string comparisons might have different results depending on the culture. For more information on culture-specific comparisons, see the namespace and Encoding and Localization.

  Initializes a new instance of the class using the of the current thread.

- Constructor
  1.0.5000.0
  2.0.0.0
  4.0.0.0

  Comparison procedures use the specified to determine the sort order and casing rules. String comparisons might have different results depending on the culture. For more information on culture-specific comparisons, see the namespace and Encoding and Localization.

  Initializes a new instance of the class using the specified .

  The to use for the new .
- Method
  1.0.5000.0
  2.0.0.0
  4.0.0.0
  System.Int32 `` ``

  If and are both strings, this method uses to compare the strings with the casing ignored; otherwise, it uses the implementation of either object. That is, if implements , then this method returns the result of . CompareTo (); otherwise, if implements , then it returns the negated result of . CompareTo ().

  Comparing null with any type is allowed and does not generate an exception when using . When sorting, null is considered to be less than any other object.

  String comparisons might have different results depending on the culture. For more information on culture-specific comparisons, see the namespace and Encoding and Localization.

  Performs a case-insensitive comparison of two objects of the same type and returns a value indicating whether one is less than, equal to, or greater than the other.

  A signed integer that indicates the relative values of and , as shown in the following table.

  Value

  Meaning

  Less than zero

  is less than , with casing ignored.

  Zero

  equals , with casing ignored.

  Greater than zero

  is greater than , with casing ignored.

  The first object to compare. The second object to compare.
- Property
  1.0.5000.0
  2.0.0.0
  4.0.0.0
  System.Collections.CaseInsensitiveComparer To be added: an object of type 'CaseInsensitiveComparer'

  When the instance is created using the parameterless constructor, the of the current thread is saved. Comparison procedures use the saved culture to determine the sort order and casing rules; therefore, string comparisons might have different results depending on the culture. For more information on culture-specific comparisons, see the namespace and Encoding and Localization.

  Gets an instance of that is associated with the of the current thread and that is always available.

- Property
  1.0.5000.0
  2.0.0.0
  4.0.0.0
  System.Collections.CaseInsensitiveComparer To be added.

  Comparison procedures use the to determine the sort order and casing rules. String comparisons might have different results depending on the culture. For more information on culture-specific comparisons, see the namespace and Encoding and Localization.

  Gets an instance of that is associated with and that is always available.