1. Home
  2. Computer Science MCQs
  3. C#
  4. Which LINQ method flattens nested collections?

Added 14 Sep 2025

Which LINQ method flattens nested collections?

  1. Select
  2. SelectMany Correct answer
  3. Aggregate
  4. Zip

Correct answer

B. SelectMany

12 views

MCQSEXAM

Explanation

SelectMany projects & flattens.

Reference

https://learn.microsoft.com/en-us/dotnet/api/system.linq.enumerable.selectmany

Doubts & discussion

Not sure why the answer is B? Ask here and get an explanation.

Ask a doubt about this MCQ

Shown after review. No links please.

More C# MCQs

Practise all C# MCQs

Similar MCQs