Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# loop through dictionary

foreach(var item in myDictionary.Keys)
{
  foo(item);
}
foreach(var item in myDictionary.Values)
{
  foo(item);
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #loop #dictionary
ADD COMMENT
Topic
Name
8+8 =