Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

enumerate dictionary c#

foreach(KeyValuePair<int, string> kvp in dictionary)
{
   Console.WriteLine("Key : " + kvp.Key.ToString() + ", Value : " + kvp.Value);
}
 
PREVIOUS NEXT
Tagged: #enumerate #dictionary
ADD COMMENT
Topic
Name
4+3 =