concept First in category .net
appears as: First

This is an excerpt from Manning's book Entity Framework 4 in Action.
When users select an order, they need to see it in a detailed form. The form needs only a single instance and not a list. This can be achieved by using the LINQ First method. Here it’s used to retrieve the order with ID 1.
LINQ queries return an IEnumerable<T> even if only one object is retrieved. When you know in advance that you’re going to get a single object, it’s more convenient to return it directly instead of dealing with the list. The First and Single methods allow you to do this.