/ Published in: C#
Simple example of a Key Value Pair using System.Collections.Generic.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
using System.Collections.Generic; MyDictionary.Add(1, true); foreach (KeyValuePair<int, bool> dictitem in MyDictionary) { if (dictitem.Key == 1) }