CaseInsensitiveComparerCF 1.0, serializable

System.Collections (mscorlib.dll)class

This type provides a means for case-insensitive comparison of string objects. This class implements the IComparer.Compare( ) method. You can obtain a standard comparer that uses the System.Globalization.InvariantCulture rules for string comparisons by using the CaseInsensitiveComparer instance returned from the static DefaultInvariant property.

public class CaseInsensitiveComparer : IComparer {
// Public Constructors
   public CaseInsensitiveComparer( );
   public CaseInsensitiveComparer(System.Globalization.CultureInfo culture);
// Public Static Properties
   public static CaseInsensitiveComparer Default{get; }
   public static CaseInsensitiveComparer DefaultInvariant{get; }
// Public Instance Methods
   public int Compare(object a, object b);           
// implements IComparer

    Part II: Programming with the .NET Framework
    Part IV: API Quick Reference
    Chapter 26. System