csharp dictionnaries

Code Example - csharp dictionnaries

                
                        using System.Collections.Generic;

Dictionary<TKey,TValue> dictionary = new Dictionary<TKey,TValue>();

dictionary.Add(TKey, TValue);

//Returms a booleen
dictionary.TryGetValue(TKey, out TValue tValue);