Created
April 19, 2020 19:13
-
-
Save openroomxyz/281918a7cb50141cab9a319d44feef5d to your computer and use it in GitHub Desktop.
Unity C# : What is the best way to loop thru Dictionary ( dic ) ?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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