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

LINQ

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

LINQ (Language-Integrated Query) lets you query any sequence with methods such as Where and Select, each driven by a lambda. Follow one query over the array {72, 45, 90, 61}: building it runs nothing (deferred execution); a foreach then pulls items through one at a time, Where drops 45, Select adds 5, and the console prints 77, 95, 66. ToList runs the whole query again and keeps the results.

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

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