Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / CompMod / System / Collections / Specialized / CollectionsUtil.cs / 1 / CollectionsUtil.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
// Wrapper for a case insensitive Hashtable.
namespace System.Collections.Specialized {
using System.Collections;
///
/// [To be supplied.]
///
public class CollectionsUtil {
///
/// [To be supplied.]
///
public static Hashtable CreateCaseInsensitiveHashtable() {
return new Hashtable(StringComparer.CurrentCultureIgnoreCase);
}
///
/// [To be supplied.]
///
public static Hashtable CreateCaseInsensitiveHashtable(int capacity) {
return new Hashtable(capacity, StringComparer.CurrentCultureIgnoreCase);
}
///
/// [To be supplied.]
///
public static Hashtable CreateCaseInsensitiveHashtable(IDictionary d) {
return new Hashtable(d, StringComparer.CurrentCultureIgnoreCase);
}
///
/// [To be supplied.]
///
public static SortedList CreateCaseInsensitiveSortedList() {
return new SortedList(CaseInsensitiveComparer.Default);
}
}
}
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ImageAttributes.cs
- ApplicationId.cs
- VirtualPath.cs
- DbConnectionInternal.cs
- AddressAccessDeniedException.cs
- ListBoxAutomationPeer.cs
- ImageAutomationPeer.cs
- SoapAttributeAttribute.cs
- BamlRecordHelper.cs
- MailWriter.cs
- AssemblyAttributes.cs
- SchemaImporterExtensionElementCollection.cs
- Visual3D.cs
- TitleStyle.cs
- DataGridViewRowsAddedEventArgs.cs
- TypeConverterAttribute.cs
- CDSsyncETWBCLProvider.cs
- QuaternionAnimation.cs
- AncestorChangedEventArgs.cs
- RemotingAttributes.cs
- TaskExceptionHolder.cs
- InputBindingCollection.cs
- DbConnectionHelper.cs
- AnnotationResourceCollection.cs
- Vector3DCollectionConverter.cs
- BitConverter.cs
- PrintDialog.cs
- Types.cs
- recordstatescratchpad.cs
- EncryptedType.cs
- dataprotectionpermission.cs
- HtmlMeta.cs
- ResponseStream.cs
- ContextItem.cs
- Message.cs
- ParamArrayAttribute.cs
- OracleCommandBuilder.cs
- WpfKnownType.cs
- DataGridViewCellConverter.cs
- SaveFileDialog.cs
- Bezier.cs
- XmlSerializer.cs
- CellConstant.cs
- ImageKeyConverter.cs
- Terminate.cs
- DSASignatureDeformatter.cs
- PrinterSettings.cs
- BrowserCapabilitiesFactoryBase.cs
- diagnosticsswitches.cs
- SyntaxCheck.cs
- HostVisual.cs
- AttachedPropertyDescriptor.cs
- clipboard.cs
- ContainerTracking.cs
- PackUriHelper.cs
- RawStylusInputCustomData.cs
- EmptyEnumerator.cs
- DependencySource.cs
- Slider.cs
- OLEDB_Util.cs
- FlowPosition.cs
- EventProxy.cs
- __FastResourceComparer.cs
- Root.cs
- EncoderFallback.cs
- ColorMap.cs
- ViewManager.cs
- EncoderReplacementFallback.cs
- ReadOnlyPropertyMetadata.cs
- SuppressMessageAttribute.cs
- TextSpanModifier.cs
- GridViewRow.cs
- ImportCatalogPart.cs
- GridViewHeaderRowPresenterAutomationPeer.cs
- InheritedPropertyChangedEventArgs.cs
- Merger.cs
- ListCommandEventArgs.cs
- SqlTriggerAttribute.cs
- ManagementOptions.cs
- Label.cs
- Screen.cs
- ProjectionPathSegment.cs
- SQLByte.cs
- ListBindingHelper.cs
- NameValuePair.cs
- SineEase.cs
- Vector.cs
- MouseEventArgs.cs
- ConnectionProviderAttribute.cs
- ExceptionWrapper.cs
- XhtmlBasicLabelAdapter.cs
- DataGridViewColumnDividerDoubleClickEventArgs.cs
- RightsManagementInformation.cs
- StringComparer.cs
- SoapMessage.cs
- _HTTPDateParse.cs
- ContentPlaceHolderDesigner.cs
- WS2007FederationHttpBindingCollectionElement.cs
- InternalMappingException.cs
- Material.cs