13.07.2015 Views

C# in Depth

C# in Depth

C# in Depth

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

They do, of course—and that’s the hidden jewel of LINQ. It’s been <strong>in</strong> broad daylight,<strong>in</strong> public view—just not talked about very much. Even if you don’t talk aboutit, I’d like you to keep it <strong>in</strong> the back of your m<strong>in</strong>d while you read about the featuresof <strong>C#</strong> 3. Look at your exist<strong>in</strong>g code <strong>in</strong> the light of the possibilities that LINQ has tooffer. It’s not suitable for all tasks, but where it is appropriate it can make a spectaculardifference.It’s only been <strong>in</strong> the course of writ<strong>in</strong>g this book that I’ve become thoroughly conv<strong>in</strong>cedof the elegance and beauty of LINQ. The deeper you study the language, themore clearly you see the harmony between the various elements that have been <strong>in</strong>troduced.Hopefully this will become apparent <strong>in</strong> the rema<strong>in</strong>der of the book, but you’remore likely to feel it gradually as you beg<strong>in</strong> to see LINQ improv<strong>in</strong>g your own code. Idon’t wish to sound like a m<strong>in</strong>dless and noncritical <strong>C#</strong> devotee, but I feel there’ssometh<strong>in</strong>g special <strong>in</strong> <strong>C#</strong> 3.With that brief burst of abstract admiration out of the way, let’s start look<strong>in</strong>g at<strong>C#</strong> 3 <strong>in</strong> a more concrete manner.Licensed to Rhona Hadida

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!