Key-based I/O Collection ใน C# คือ SortedList<TKey, TValue> SortedList = Key-Value Pairs เรียงตาม Key เข้าถึงได้ทั้ง Key และ Index s.Add(Sub1, Physics); s.Add(Sub2, Chemistry); s.Add(Sub3, Biology); s.Add(Sub4, Java); ตัวอย่าง using System; using System.Collections; namespace Demo { class