LINQ Single vs First

Posted by BahaiResearch.com on Stack Overflow See other posts from Stack Overflow or by BahaiResearch.com
Published on 2010-04-27T18:55:05Z Indexed on 2010/04/27 19:03 UTC
Read the original article Hit count: 270

Filed under:

LINQ:

Is it more efficient to use the Single() operator over First() when ever I know for certain that the query will return a single record?

Is there a difference?

© Stack Overflow or respective owner

Related posts about LINQ