dotnet / dotnet/dotnet-api-docs

Documentation for OrderedDictionary<TKey,TValue>

Open
#11,087 1 comment 0 reactions 0 assignees View on GitHub
area-System.Collections
Dominant language
C#
Stars
949
Forks
1.7k
Avg merge
3d 27m
Merged PRs (30d)
49

Description

### Describe the issue or suggestion

The documentation for [`OrderedDictionary`](https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.ordereddictionary-2?view=net-9.0) does not include any information about how it differs from using a `Dictionary`. The summary of "Represents a collection of key/value pairs that are accessible by the key or index." suggests that you can access elements in their added order but to do so requires casting to `IList` which isn't obvious.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.