src/NetStandard/Collections/Collections/src/Specialized/OrderedDictionary.cs
/// <summary>
/// Tries to get the value associated with the specified key.
/// </summary>
/// <param name="key">The key of the desired element.</param>
/// <param name="value">
/// When this method returns, contains the value associated with the specified key if
/// that key was found.  Otherwise it will contain the default value for parameter's type.
/// This parameter should be provided uninitialized.
/// </param>
/// <returns>True if the value was found.  False otherwise.</returns>
/// <remarks></remarks>
Tries to get the value associated with the specified key.
Tries to get the value associated with the specified key .
public bool TryGetValue(K key, [MaybeNullWhen(false)] out V value)
        {
            if (keyedCollection.Contains(key)) {
                value = keyedCollection[key].Value;
                return true;
            } else {
                value = default;
                return false;
            }
        }
public bool TryGetValue ( K key , [ MaybeNullWhen ( false ) ] out V value ) { if ( keyedCollection . Contains ( key ) ) { value = keyedCollection [ key ] . Value ; return true ; } else { value = default ; return false ; } }
Tries to get the value associated with the specified key.
Tries to get the value associated with the specified key .
True if the value was found.  False otherwise.
True if the value was found . False otherwise .
key
K
The key of the desired element.
The key of the desired element .
out
[MaybeNullWhen(false)]
value
When this method returns, contains the value associated with the specified key if
that key was found.  Otherwise it will contain the default value for parameter's type.
This parameter should be provided uninitialized.
When this method returns contains the value associated with the specified key if that key was found . Otherwise it will contain the default value for parameter ' s type . This parameter should be provided uninitialized .
remarks
None