Jun 19, 2008

LINQ

C# 3.0 has come up with a new functionality called LINQ and it stands for Language INtegrated Query capabilities. LINQ enables SQL-like queries to be written directly within a C# program and checked statically for correctness. The architecture of LINQ allows queries to execute either locally or remotely.

The .NET Framework provides LINQ-enabled APIs across local collections, remote databases, and XML. C# 3.0 features include:

  • Lambda expressions

  • Extension methods

  • Implicitly typed local variables

  • Query comprehensions

  • Anonymous types

  • Object initializers

  • Implicitly typed arrays

  • Automatic properties

  • Partial methods

  • Expression trees

No comments: