Pamala,
Dim MiDict As New System.Collections.Generic.Dictionary(Of String,
MyObject)(StringComparer.CurrentCultureIgnoreCase)
StringComparer has shared properties both case sensitive & case insensitive
comparisons for the current culture, the invariant culture and ordinal
http://msdn2.microsoft.com/en-us/lib...gcomparer.aspx
--
Hope this helps
Jay B. Harlow [MVP - Outlook]
..NET Application Architect, Enthusiast, & Evangelist
T.S. Bradley -
http://www.tsbradley.net
"pamela fluente" <pa***********@libero.itwrote in message
news:11**********************@s48g2000cws.googlegr oups.com...
Hi
I am doing something like:
Dim MiDict As New System.Collections.Generic.Dictionary(Of String,
MyObject)
how should I change the above so that the string comparison (key) is
done using the case insensitive comparer ?
Thanks you
-Pam