Home > Linq > LINQ # 9 – Standard Query Operators (What are Standard Query Operators ?)

LINQ # 9 – Standard Query Operators (What are Standard Query Operators ?)

Hi Folks,

In this article we will cover all the standard query operators that can be used to fire query against .NET Objects.

** What are Standard Query Operators ?

* It is a set of methods which can operate on objects whose type implements the IEnumerable<T> or IQueryable<T> interface. IEnumerable exposes the enumerator which iterates over a collection of a specified type.

* There are different sets of methods that operate on static members of Enumerable and Queryable classes. Each query can have any number of methods within it. The more number of methods in a query, the more complex it is. The query operators are useable with any .NET language that support generics.

* There are some differences in the query execution timings, depending on the value that the query returns. If the query returns a single value, like an average or a sum, it executes immediately and returns the value. If it is a sequence of values, the query would be deferred and would return an enumerable object.

* The namespace that takes care of importing the query operators is:

 using System.Linq;
 

image

image

 

NOTE : For Details of each and every type of Query Operator please refer link

http://msdn.microsoft.com/en-us/library/bb394939.aspx

 

For more interesting links and daily update please subscribe our link resource website
    Todays link are follows:
link-resource-14-august-8-august-10

 

Thanks.

Advertisements
Categories: Linq
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: