python ruby-programming-language Smalltalk Vue.js Knockoutjs TypeScript JavaScript, OOPs JavaScript Angular 8,7,6,5,4 and 2 Interview Questions and Answers Angular 8,7,6,5,4 and 2 Interview Questions and Answers Angular 4 Angular 2 AngularJs 1.x NodeJs Perl Programming R Programming RequireJs Rust Programming Backbonejs closure programming language go-programming-language kotlin-programming-language
LINQ Advantages and Disadvantages in .Net

What is LINQ API?

In the LINQ, the collections of the extension methods for the classes that implements IQueryable<T> and IEnumerable<T> interface.

The Enumerable class includes extension methods for the class that implement IEnumerable<T> interface.
The IQueryable class includes extension methods for the class that implement IQueryable<T> interface.

The IQueryable interface inherits from IEnumerable interface, so whatever IEnumerable can do, IQueryable can also do.

IQueryable<T> and IEnumerable<T> interfaces are used for data manipulation in LINQ from the database and collections.

Points to Remembers :-
We are using the namespace “System.Linq” to access LINQ and it is included by default in the added class.

The LINQ API includes two important static classes Queryable and Enumerable and the Queryable and Enumerable class includes extension methods that implements interface i.e.
·         IEnumerable<T> Interface
·         IQueryable<T> Interface

I hope it is helpful to you! Thank you!


ANIL SINGH

Hi there! Welcome to my blog. My name is Anil Singh. I'm a author of this blog. For more detail about me, kindly refer to this link..
My Blogs - http://code-sample.com and http://code-sample.xyz
My Books - Interview Questions and Answers Books- Get Your Book in 15+ Digital Stores Worldwide..

You Might Also Like
www.code-sample.com/. Powered by Blogger.
ASK Questions