//do this when creating the dictionary instence var dict = new Dictionary<string, YourClass>( StringComparer.InvariantCultureIgnoreCase);