اكثر اسئلة واجوبة المقابلات طلبا والاختبارات عبر الإنترنت
منصة تعليمية للتحضير للمقابلات والاختبارات عبر الإنترنت والدروس والتدريب المباشر

طوّر مهاراتك من خلال مسارات تعلم مركزة واختبارات تجريبية ومحتوى جاهز للمقابلات.

يجمع WithoutBook أسئلة المقابلات حسب الموضوع والاختبارات العملية عبر الإنترنت والدروس وأدلة المقارنة في مساحة تعلم متجاوبة واحدة.

التحضير للمقابلة

الاختبارات التجريبية

اجعلها الصفحة الرئيسية

احفظ هذه الصفحة في المفضلة

الاشتراك عبر البريد الإلكتروني

LINQ اسئلة واجوبة المقابلات

سؤال 11. What is the purpose of the 'Select' method in LINQ?

The 'Select' method is used to transform each element of a sequence by applying a specified function, and it returns a new sequence of the transformed elements.

Example:

var result = myList.Select(x => x * 2);

هل هذا مفيد؟ اضف تعليقا عرض التعليقات
 

سؤال 12. Explain the concept of 'deferred loading' in LINQ to SQL.

'Deferred loading' in LINQ to SQL means that related objects are not loaded from the database until they are accessed for the first time.

هل هذا مفيد؟ اضف تعليقا عرض التعليقات
 

سؤال 13. What is the difference between 'FirstOrDefault' and 'First' methods in LINQ?

'FirstOrDefault' returns the first element of a sequence or a default value if the sequence is empty, while 'First' returns the first element and throws an exception if the sequence is empty.

Example:

var firstItem = myList.FirstOrDefault(); 
var firstItemWithValue = myList.First();

هل هذا مفيد؟ اضف تعليقا عرض التعليقات
 

سؤال 14. Explain the usage of the 'Skip' and 'Take' methods in LINQ.

'Skip' is used to skip a specified number of elements in a sequence, and 'Take' is used to return a specified number of elements from the start of a sequence.

Example:

var result = myList.Skip(2).Take(3);

هل هذا مفيد؟ اضف تعليقا عرض التعليقات
 

سؤال 15. What is the purpose of the 'Any' method in LINQ?

'Any' is used to determine whether any elements of a sequence satisfy a given condition. It returns true if any element satisfies the condition, otherwise false.

Example:

bool hasElementsGreaterThanFive = myList.Any(x => x > 5);

هل هذا مفيد؟ اضف تعليقا عرض التعليقات
 

الاكثر فائدة حسب تقييم المستخدمين:

حقوق النشر © 2026، WithoutBook.