R

Ram Sharma • 3.40K Points
Extraordinary

Q. Which LINQ method returns the first element matching a condition?

  • (A) First()
  • (B) Find()
  • (C) FirstOrDefault()
  • (D) Take()

Explanation by: Ram Sharma
`First()` returns the first element in a sequence that matches a condition.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.