/ Published in: C#
Working with System.Collections.Generic.Dictionary
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
using System.Collections.Generic; // create // fill MyDictionary.Add(1, true); // iterate foreach (KeyValuePair<int, bool> dictitem in MyDictionary) { if (dictitem.Key == 1) // ... } }