What are the important extensions of LINQ ?

Friday, July 31, 2009


The following are the important extensions to LINQ:
1. LINQ to Object
2. LINQ to SQL
3. LINQ to XML
4. LINQ to DataSet


www.codecollege.NET

What is LINQ ?


LINQ (Language Integrated Query) is a set of language extensions using which you can perform query,set and tranform operations. It extends C# or VB.NET with syntax for queries and provides class libraries to use these features.


www.codecollege.NET

How will you stop a ASP.NET SQL Cache Dependency ?


SqlDependency.Stop(myconnectionstring); .


www.codecollege.NET

How will you start a ASP.NET SQL Cache Dependency ?


SqlDependency.Start(myconnectionstring); .


www.codecollege.NET

What is REPL ?


REPL is READ-EVAL-PRINT-LOOP.


www.codecollege.NET

What is DLR in .NET 4.0 ? or What is DLR?


DLR (Dynamic Language Runtime) allows any language to communicate with any other.
Ex:
Python and Ruby can communicate with C# and VB.NET


www.codecollege.NET

What is the use of dynamic keyword in C#.NET 4.0 ?


dynamic keyword .NET 4.0 is used as a data type. It is simillar to the var keyword in the sense it can hold any object type which is dynamically created.
Ex:
dynamic mycalc = GetCalculator();
int sum = mycalc.Subtract(900, 500);


www.codecollege.NET
Blog Widget by LinkWithin