Answers for "C# dictionnaries"

C#
0

C# 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);
Posted by: Guest on August-27-2021

C# Answers by Framework

Browse Popular Code Answers by Language