In the previous chapter, I introduced you to LINQ. I provided some examples to whet your appetite,
and shared some premature tips. You may be perplexed though by some of the syntax. If so, it is
probably because the C# you witnessed in that chapter is new and improved. The reason for the C#
language upgrade is that C# 2.0 just didn’t have the muscle to pull off LINQ. In this chapter, I introduce
you to the more powerful C# 3.0.
Language-Integrated Query (LINQ) is a set of features introduced in Visual Studio 2008 that extends powerful query capabilities to the language syntax of C# and Visual Basic. LINQ introduces standard, easily-learned patterns for querying and updating data, and the technology can be extended to support potentially any kind of data store. Visual Studio includes LINQ provider assemblies that enable the use of LINQ with .NET Framework collections, SQL Server databases, ADO.NET Datasets, and XML documents.
What is Linq?...
máy bay chiếu có hiệu lực, Silverlight 3.0, 396-397 nền tảng phương pháp độc lập, 253 PlayReady kiểm soát, 402 PLINQ (Parallel LINQ) AsSequential (), 116 hủy bỏ truy vấn, 117 trường hợp ngoại lệ, 117 ForAll điều hành (xin chào), 116 PLINQ, 115
Need fast, robust, efficient code solutions for Microsoft C# 4.0? This book delivers exactly what you’re looking for. You’ll find more than 200 solutions, best-practice techniques, and tested code samples for everything from classes to exceptions, networking to XML, LINQ to Silverlight. Completely up-to-date, this book fully reflects major language enhancements introduced with the new C# 4.0 and .NET 4.0. When time is of the essence, turn here first: Get answers you can trust and code you can use, right now!...
OVER THE PAST 30 YEARS I’VE WRITTEN 18 BOOKS on various programming topics. You might wonder,
why so many…? Didn’t I get it right the fi rst time? Well, no, I didn’t…not really. When I wrote
my fi rst book more than 30 years ago, object-oriented programming (OOP) was obscure at best
and unknown to most. Like so many others, I had to go through the OOP learning process before
I could appreciate what OOP was all about. I have a feeling that there are a lot of people out there
who still feel that way.
Each time I teach a programming class, I learn new...