My Account Log in

1 option

LINQ to objects using C# 4.0 : using and extending LINQ to objects and parallel LINQ (PLINQ)

O'Reilly Online Learning: Academic/Public Library Edition Available online

View online
Format:
Book
Author/Creator:
Magennis, Troy, Author.
Series:
The Addison-Wesley Microsoft technology series LINQ to objects using C# 4.0
Language:
English
Subjects (All):
Microsoft LINQ.
Query languages (Computer science).
C# (Computer program language).
Microsoft .NET Framework.
Physical Description:
1 online resource (xx, 312 p.) : ill.
Edition:
1st edition
Place of Publication:
[Place of publication not identified] Addison Wesley 2010
Language Note:
English
System Details:
text file
Summary:
“For several years, Troy has been one of the key figures in the LINQ community. This comprehensive and well-written book serves as a compendium of the important wisdom and experience that he has accumulated through his years of studying LINQ and its uses.” – Charlie Calvert , Microsoft C# Community Program Manager “LINQ is changing the way we think about working with data and, in many ways, also about programming in general. LINQ to Objects Using C# 4.0 is a thorough reference that teaches how to simplify many day-to-day tasks with data. It also gives you the foundations that are necessary to understand a wide range of fascinating applications of LINQ that will, no doubt, continue to appear over the next few years.” – Tomas Petricek , Microsoft MVP and author of Real-World Functional Programming Your Complete Example-Rich Guide to Using and Extending LINQ to Objects and PLINQ Using LINQ to Objects, .NET developers can write queries over object collections with the same deep functionality that was once available only with SQL and relational databases. Now, for the first time, developers have a comprehensive and authoritative guide to applying LINQ to Objects in real-world software. Microsoft MVP Troy Magennis introduces state-of-the-art techniques for working with in-memory collections more elegantly and efficiently—and writing code that is exceptionally powerful, robust, and flexible. Drawing on his unsurpassed experience coding software using LINQ and hosting the popular HookedOnLINQ.com site, Magennis presents timely, realistic solutions to a wide spectrum of development challenges, such as combining data from multiple sources, and achieving optimal performance with extremely large sets of data. You’ll begin with brief quick-starts that walk you through LINQ to Objects’ key features and query syntax. Next, you’ll drill down to detailed techniques for applying and extending these features with C# 4.0 and C# 3.0—including code examples that reflect the realities of production development. Coverage includes • Writing basic LINQ queries with C#: filtering, projecting, and sorting data from in-memory collections • Mastering advanced techniques for grouping and joining data and understanding the performance implications of each technique • Taking full advantage of LINQ’s standard query operators • Creating custom query operators that follow best practices for coding patterns and error handling • Writing more fluent, readable LINQ qu...
Contents:
Cover
Contents
Foreword
Preface
Acknowledgments
About the Author
Chapter 1: Introducing LINQ
What Is LINQ?
The (Almost) Current LINQ Story
LINQ Code Makeover-Before and After Code Examples
Benefits of LINQ
Summary
References
Chapter 2: Introducing LINQ to Objects
LINQ Enabling C# 3.0 Language Enhancements
LINQ to Objects Five-Minute Overview
Chapter 3: Writing Basic Queries
Query Syntax Style Options
How to Filter the Results (Where Clause)
How to Change the Return Type (Select Projection)
How to Return Elements When the Result Is a Sequence (Select Many)
How to Get the Index Position of the Results
How to Remove Duplicate Results
How to Sort the Results
Chapter 4: Grouping and Joining Data
How to Group Elements
How to Join with Data in Another Sequence
Chapter 5: Standard Query Operators
The Built-In Operators
Aggregation Operators-Working with Numbers
Conversion Operators-Changing Types
Element Operators
Equality Operator-SequenceEqual
Generation Operators-Generating Sequences of Data
Merging Operators
Partitioning Operators-Skipping and Taking Elements
Quantifier Operators-All, Any, and Contains
Chapter 6: Working with Set Data
Introduction
The LINQ Set Operators
The HashSet Class
Chapter 7: Extending LINQ to Objects
Writing a New Query Operator
Writing a Single Element Operator
Writing a Sequence Operator
Writing an Aggregate Operator
Writing a Grouping Operator
Chapter 8: C# 4.0 Features
Evolution of C#
Optional Parameters and Named Arguments
Dynamic Typing
COM-Interop and LINQ
Chapter 9: Parallel LINQ to Objects
Parallel Programming Drivers.
Multi-Threading Versus Code Parallelism
Parallelism Expectations, Hindrances, and Blockers
LINQ Data Parallelism
Writing Parallel LINQ Operators
Glossary
Index.
Notes:
Bibliographic Level Mode of Issuance: Monograph
Includes bibliographical references and index.
Description based on publisher supplied metadata and other sources.
ISBN:
9786612502651
9780321637178
0321637178
9781282502659
1282502654
9780321637185
0321637186
OCLC:
1027152106

The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.

Find

Home Release notes

My Account

Shelf Request an item Bookmarks Fines and fees Settings

Guides

Using the Find catalog Using Articles+ Using your account