Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

if in dictionary c#

if (dict.ContainsKey(key)) { ... }
//or
dict.TryGetValue(key, out value);
 
PREVIOUS NEXT
Tagged: #dictionary
ADD COMMENT
Topic
Name
8+9 =