Answers for "c# foreach key in object"

C#
0

c# foreach on a dictionary

foreach(var item in myDictionary)
{
  foo(item.Key);
  bar(item.Value);
}
Posted by: Guest on March-19-2021

C# Answers by Framework

Browse Popular Code Answers by Language