Skip to main content

LINQ to Objects

  • Chapter
  • 1663 Accesses

Abstract

In this chapter, you were introduced to the world of LINQ and saw some demonstrations of using LINQ to Objects. LINQ can take a little while to get used to, but the flexibility and elegance that it can bring to a program is worth the investment in time. One of the best features of LINQ is consistency. As you will see the chapters that follow, everything that you have learned about to LINQ to Objects can be applied to LINQ to XML, LINQ to Entities, and so on. There are differences, but they are not as great as you might expect.

I have lost count of the number of times that I have been able to perform complex data transformations using LINQ to reduce complex legacy programs to a handful of simple queries. I encourage you to dig further into the details of LINQ and take the time to master of the best features available in C#.

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   29.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2010 Adam Freeman

About this chapter

Cite this chapter

Freeman, A. (2010). LINQ to Objects. In: Introducing Visual C# 2010. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-3172-1_27

Download citation

Publish with us

Policies and ethics