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(); }
Get C# in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.