O'Reilly logo

C# in a Nutshell by Peter Drayton, Ted Neward, Ben Albahari

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

CollectionsUtil

Synopsis

This class defines static methods to create special collections in which keys are sorted without respect to case. CreateCaseInsensitiveHashtable() creates a Hashtable, and CreateCaseInsensitiveSortedList() creates a System.Collections.SortedList.

public class CollectionsUtil {
// Public Constructors
   public method CollectionsUtil();  
// Public Static Methods
   public static method Hashtable CreateCaseInsensitiveHashtable();  
   public static method Hashtable CreateCaseInsensitiveHashtable(
        System.Collections.IDictionary d);  
   public static method Hashtable CreateCaseInsensitiveHashtable(int capacity);  
   public static method SortedList CreateCaseInsensitiveSortedList();  
}

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required