When do LINQ queries actually run?

Options
- When they are iterated over in a foreach loop
- When calling the ToArray() method on the range variable
- When calling the ToList() method on the range variable
- All of the above


CORRECT ANSWER : All of the above

Write your comments


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)


Advertisement