Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

iterate through dictionary c#

//for unity
foreach (var keyValuePair in myDictionary)
{
	ValueClass myValue = keyValuePair.Value;
	Debug.Log(myValue);
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #iterate #dictionary
ADD COMMENT
Topic
Name
1+1 =