IReadOnlyDictionary<TKey, TValue>
Keys
this[TKey]
Values
ContainsKey(TKey)
TryGetValue(TKey, TValue)
GetValueOrDefault<TKey, TValue>(IReadOnlyDictionary<TKey, TValue>, TKey)
GetValueOrDefault<TKey, TValue>(IReadOnlyDictionary<TKey, TValue>, TKey, TValue)
net10.0
namespace System.Collections.Generic
{
public static class CollectionExtensions
{
public static TValue GetValueOrDefault<TKey, TValue>(this IReadOnlyDictionary<TKey, TValue>! dictionary, TKey key, TValue defaultValue);
}
}
| nuget.org | 0.2 % Reference this API |
|---|---|
| .NET | 5.06.07.08.09.010.0 |
| .NET Core | 3.03.1 |
Information specific to net10.0 | |
| Assembly | System.Collections , Version=10.0.0.0, PublicKeyToken=b03f5f7f11d50a3a |
| Referencing | The API is automatically referenced. |
| Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API