LyraLearn AI Learning Platform
Exams
← Back to the lesson
Module 1 Β· Quiz

LINQ and Collections

1. What does the `IEnumerable<T>` interface allow C# developers to do?
2. What is the key difference between `IQueryable<T>` and `IEnumerable<T>`?
3. Why is it important to sort before using pagination methods like `Skip` or `Take`?
4. What is a common pitfall when using LINQ queries, especially with `IQueryable`?