Skip to content

Instantly share code, notes, and snippets.

@openroomxyz
Created April 19, 2020 19:13
Show Gist options
  • Select an option

  • Save openroomxyz/281918a7cb50141cab9a319d44feef5d to your computer and use it in GitHub Desktop.

Select an option

Save openroomxyz/281918a7cb50141cab9a319d44feef5d to your computer and use it in GitHub Desktop.
Unity C# : What is the best way to loop thru Dictionary ( dic ) ?
foreach(KeyValuePair<string, string> entry in myDictionary)
{
// do something with entry.Value or entry.Key
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment