src/Markdig/Helpers/CompactPrefixTree.cs
/// <summary>
/// Tries to add the key/value pair to the <see cref="CompactPrefixTree{TValue}"/> if the key is not yet present
/// </summary>
/// <param name="key">The key of the element to add</param>
/// <param name="value">The value of the element to add</param>
/// <returns>True if the element was added, false otherwise</returns>
Tries to add the key/value pair to the  if the key is not yet present
Tries to add the key / value pair to the if the key is not yet present
public bool TryAdd(string key, TValue value)
        {
            var pair = new KeyValuePair<string, TValue>(key, value);
            return TryInsert(in pair, InsertionBehavior.None);
        }
public bool TryAdd ( string key , TValue value ) { var pair = new KeyValuePair < string , TValue > ( key , value ) ; return TryInsert ( in pair , InsertionBehavior . None ) ; }
Tries to add the key/value pair to the  if the key is not yet present
Tries to add the key / value pair to the if the key is not yet present
True if the element was added, false otherwise
True if the element was added false otherwise
key
string
The key of the element to add
The key of the element to add
value
TValue
The value of the element to add
The value of the element to add