Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

print out a dictionary c#

foreach (KeyValuePair<DateTime, string> kvp in dictionary)
{
    //textBox3.Text += ("Key = {0}, Value = {1}", kvp.Key, kvp.Value);
    Console.WriteLine("Key = {0}, Value = {1}", kvp.Key, kvp.Value);
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #print #dictionary
ADD COMMENT
Topic
Name
5+9 =