Answers for "c# keyvaluepair"

C#
0

c# keyvaluepair

// When you use foreach to enumerate dictionary elements,
// the elements are retrieved as KeyValuePair objects.
Console.WriteLine();
foreach( KeyValuePair<string, string> kvp in openWith )
{
    Console.WriteLine("Key = {0}, Value = {1}", 
        kvp.Key, kvp.Value);  
}
Posted by: Guest on April-05-2020

C# Answers by Framework

Browse Popular Code Answers by Language