|The Message text:
This email was created by [your name] who thought you would be interested in the following Article:
"LINQ: Single vs. SingleOrDefault"
Like other LINQ API methods that extract a scalar value from a sequence, Single has a companion SingleOrDefault. The documentation of SingleOrDefault states that it returns a single, specific element of a sequence of values, or a default value if no such element is found, although, in my opinion
CodeProject also contains hundreds of articles, free source code samples and applications to help in your day to day programming. Why not give it a try!