Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# foreach on a dictionary

foreach(var item in myDictionary)
{
  foo(item.Key);
  bar(item.Value);
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #foreach #dictionary
ADD COMMENT
Topic
Name
5+1 =