Click here to Skip to main content
15,885,129 members
Articles / All Topics

Returning a Single Element With LINQ First and LINQ Single

1 May 2009 23.9K   3   3
Sometimes you have a list, and you need to return a single element from the list. There are several ways to get the element to return. Below are two ways using LINQ with Lambda expressions.Consider the following class: 1: public class Person 2: { 3: public strin
We're sorry, but the article you are trying to view was deleted at 25 Sep 2017.

Please go to the All Topics Table of Contents to view the list of available articles in this section.