2005-12-03, 08:46 PM
The System.Collections.Specialized.StringDictionary looked to be ideal for what I needed but it seems to convert all Keys to lower case. The values retain case-sensitivity but I specifically need both to do this.
I use (example)But in this case, MyEntry.Keys and MyEntry.Value will return "abcd" and "eFGh". Sorry - new at C# collections - is this expected behaviour? Can I use an alternative collection type?
Cheers,
Brian
I use (example)
Code:
MyDict.Add("aBCd", "eFGh");
...
// then use the String Dictionary enumerator and a DictionaryEntry
MyEntry = (DictionaryEntry) MyEnum.Current;
Cheers,
Brian