LINQ (Language Integrated Query) thống nhất cách truy vấn các nguồn dữ liệu khác nhau (collections, database, XML) bằng cú pháp nhất quán.
Ưu điểm: type safety tại compile-time, IntelliSense hỗ trợ, query dễ đọc như SQL, giảm boilerplate. Hỗ trợ cả method syntax và query syntax — compiler chuyển đổi cả hai thành biểu diễn nội tại giống nhau.
LINQ (Language Integrated Query) unifies querying diverse data sources (collections, databases, XML) with identical syntax.
Advantages: compile-time type safety, IntelliSense support, readable SQL-like queries, reduced boilerplate loops. Supports both method and query syntax — compilers transform both to the same underlying representation.