Friday, August 5, 2011

Creating case insensitive Dictionary in VB .net

To create a dictionary in VB .Net use the following:

Dim dicValues As New Dictionary(Of String, String) StringComparer.CurrentCultureIgnoreCase)


Normally the dictionary is case sensitive.

No comments:

Post a Comment