> > I am looking for a case sensitive string- or generic dictionary, meaning the > > key should not automatically be converted to lower case. > > Dictionary<string, V> nodes = new Dictionary<string, V>( > StringComparer.OrdinalIgnoreCase ) ?
He want's sensitive, not insensitve: Dictionary<string, V> nodes = new Dictionary<string, V>(StringComparer.Ordinal); Oh, and I think this is well worth spelling out so it's clear you want Ordinal. -- "Your lack of planning DOES constitute an emergency on my part... so PLAN BETTER! " Marc C. Brooks http://musingmarc.blogspot.com =================================== This list is hosted by DevelopMentor� http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com