Skip to content

Default dictionary containskey is case sensitive, even though documentation says otherwise #12153

@jeff-amos-ssnc

Description

@jeff-amos-ssnc

Type of issue

Other (describe below)

Description

https://learn.microsoft.com/en-us/dotnet/api/system.collections.specialized.stringdictionary.containskey?view=net-10.0
"The key is handled in a case-insensitive manner; it is translated to lowercase before it is used."
This appears to be totally incorrect

Page URL

https://learn.microsoft.com/en-us/dotnet/api/system.collections.specialized.stringdictionary.containskey?view=net-10.0

Content source URL

https://github.com/dotnet/dotnet-api-docs/blob/main/xml/System.Collections.Specialized/StringDictionary.xml

Document Version Independent Id

3d6e561e-c817-26e2-1ae4-127d3159e930

Platform Id

4884c600-525c-2208-c41d-c19c47f7d3e9

Article author

@dotnet-bot

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions