ENع
الدرس 12 · Working with data

Collections

لم يُترجم بعد؛ يُعرض باللغة الإنجليزية

A collection keeps many values under one name. Follow a 13-line program: a List<int> stores its values in a hidden array, fills it, and when it is full makes a new array twice as big and copies across; a Dictionary<int, string> uses each key's hash code to pick a bucket, so TryGetValue goes straight to the right one. The program prints 85 Sara.

14 دقيقة11 خطوات5 أسئلةIntermediate
شكل 12 · تفاعلي
جارٍ تحميل الرسم…
أو ← →

اختبار يتاح بعد الخطوة الأخيرة.