Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

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);
 
PREVIOUS NEXT
Tagged: #dictionnaries
ADD COMMENT
Topic
Name
2+5 =