LINQ is the abbreviation for Language Integrated query, which is integrated in the. NET programming language. has become an integral part of programming languages, and can be written with good compile-time syntax checking, rich metadata, IntelliSense, static types, and other strongly-typed language benefits. It also makes it easy to query the information in memory rather than just an external data source.
LINQ defines a set of standard query operators for more direct declaration of a unified approach to spanning, filtering, and projection operations in all programming languages based on. NET platforms, and the standard query operator allows queries to be applied to all sources based on ienumerable<t> interfaces. It also allows third-party domain-specific operators suitable for the target domain or technology to expand the set of standard query operators, and more importantly, third-party operators can freely replace the standard query operators with their own implementations of providing additional services, based on the custom of the LINQ pattern, These queries prefer to use the same language integration and tool support as the standard query operators.
Let's take a look at the LINQ architecture in general
Under. NET3.5, [url=javascript:;] Microsoft [/url] provides us with a number of namespaces