C# 3.0 Cookbook [NOOK Book]

Overview

Completely updated for C# 3.0 and the .NET 3.5 platform, the new edition of this bestseller offers more than 250 code recipes to common and not-so-common problems that C# programmers face every day. Every recipe in the book has been reconsidered with more than a third of them rewritten to take advantage of new C# 3.0 features. If you prefer solutions you can use today to general C# language instruction, and quick answers to theory, this is your...

See more details below
C# 3.0 Cookbook

Available on NOOK devices and apps  
  • NOOK Devices
  • Samsung Galaxy Tab 4 NOOK 7.0
  • Samsung Galaxy Tab 4 NOOK 10.1
  • NOOK HD Tablet
  • NOOK HD+ Tablet
  • NOOK eReaders
  • NOOK Color
  • NOOK Tablet
  • Tablet/Phone
  • NOOK for Windows 8 Tablet
  • NOOK for iOS
  • NOOK for Android
  • NOOK Kids for iPad
  • PC/Mac
  • NOOK for Windows 8
  • NOOK for PC
  • NOOK for Mac
  • NOOK for Web

Want a NOOK? Explore Now

NOOK Book (eBook)
$25.49
BN.com price
(Save 42%)$43.99 List Price

Overview

Completely updated for C# 3.0 and the .NET 3.5 platform, the new edition of this bestseller offers more than 250 code recipes to common and not-so-common problems that C# programmers face every day. Every recipe in the book has been reconsidered with more than a third of them rewritten to take advantage of new C# 3.0 features. If you prefer solutions you can use today to general C# language instruction, and quick answers to theory, this is your book.

C# 3.0 Cookbook offers a new chapter on LINQ (language integrated query), plus two expanded chapters for recipes for extension methods, lambda functions, object initializers, new synchronization primitives and more. The new edition is also complemented by a public wiki, which not only includes all of the C# 2.0 recipes from the previous edition unchanged by the release of C# 3.0, but invites you to suggest better ways to solve those tasks.

Here are some of topics covered:

  • LINQ
  • Numeric data types and Enumerations
  • Strings and characters
  • Classes and structures
  • Generics
  • Collections
  • Exception handling
  • Delegates, events, and lambda expressions
  • Filesystem interactions
  • Web site access
  • XML usage (including LINQ to XML, XPath and XSLT)
  • Networking
  • Threading
  • Data Structures & Algorithms
Each recipe in the book includes tested code that you can download from oreilly.com and reuse in your own applications, and each one includes a detailed discussion of how and why the underling technology works. You don't have to be an experienced C# or .NET developer to use C# 3.0 Cookbook. You just have to be someone who wants to solve a problem now, without having to learn all the related theory first.

Read More Show Less

Product Details

  • ISBN-13: 9780596554804
  • Publisher: O'Reilly Media, Incorporated
  • Publication date: 12/20/2007
  • Sold by: Barnes & Noble
  • Format: eBook
  • Edition number: 3
  • Pages: 896
  • Sales rank: 1,141,816
  • File size: 5 MB

Meet the Author

Jay Hilyard has been developing applications for the Windows platform for over 15 years and for .NET for more than seven of those. He has published numerous articles in MSDN Magazine and he currently works on the New Product Team at Newmarket International in Portsmouth, NH.

Stephen Teilhet has been working with the .NET platform since the pre-alpha version of the.NET 1.0 framework was being developed by Microsoft. Currently he works for Ounce Labs where he is working on enhancing their static security code analysis tool to find vulnerabilities in several languages including C# and Visual Basic.

Read More Show Less

Table of Contents

Preface
1 Language Integrated Query (LINQ) 1
2 Strings and Characters 36
3 Classes and Structures 68
4 Generics 137
5 Collections 175
6 Iterators, Partial Types, and Partial Methods 206
7 Exception Handling 240
8 Diagnostics 286
9 Delegates, Events, and Lambda Expressions 316
10 Regular Expressions 366
11 Data Structures and Algorithms 394
12 Filesystem I/O 449
13 Reflection 489
14 Web 516
15 XML 548
16 Networking 606
17 Security 651
18 Threading and Synchronization 716
19 Toolbox 770
20 Numbers and Enumerations 793
Index 821
Read More Show Less

Customer Reviews

Average Rating 5
( 1 )
Rating Distribution

5 Star

(1)

4 Star

(0)

3 Star

(0)

2 Star

(0)

1 Star

(0)

Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

 
Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously
Sort by: Showing 1 Customer Reviews
  • Anonymous

    Posted January 21, 2008

    IT'S ALL IN THE RECIPE!!

    Are you an experienced C# or .NET developer or just a novice user? If you are, then this book is for you. Authors Jay Hilyard and Stephen Teilhet, have done an outstanding job of writing a book that is designed for users of all levels, and provides solutions to problems that developers face every day as well as some that may come along less frequently. Hilyard and Teilhet, begin by covering Language Integrated Query (LINQ) and its usage with objects, ADO.NET, and XML. Next, the authors cover both String and Char data types. Then, they discuss recipes dealing with both class and structure data types. The authors also focus on the generics capacity in C#, which allows you to have code operate uniformly on values of different types. They continue by examining recipes that make use of collections. Next, the authors show you how to use two features of C# to solve very different programming problems. Then, they focus on the best ways to implement exception handling in your application. The authors also present recipes that use data types that fall under the System. They continue by showing you how delegates, events, and lambda expressions can be used in your applications. Next, the authors cover a useful set of classes that are employed to run regular expressions against strings. Then, they deal with file system interactions in four distinct ways. The authors also show you ways to use built-in assembly inspection system provided by the .NET Framework to determine what types, interfaces, and methods are implemented within an assembly and how to access them in a late-bound fashion. They continue by covering how to access a web site and its content as well as programmatically determining web site configuration. Next, the authors explore some of the uses for XML and how to program against it using LINQ to XML, the XmlReader/XmlWriter, and Xml-Document. Then, they explore the connectivity options provided by the .NET Framework and how to programmatically access network resources. The authors also explore areas such as controlling access to types, encryption and decryption, securely storing data, and using programmatic and declarative security. They continue by addressing the subject of using multiple threads of execution in a .NET program issues such as how to implement threading in your application protecting resources from and allowing safe concurrent access storing per-thread data and, how to use the synchronization primitives in .NET to write thread-safe code. Next, the authors discuss recipes for those random sorts of operations that developers run into over and over again, such as determining locations of system resources, sending e-mail, and working with services. Finally, the authors focus on the numeric and enumeration types and recipes on using enumerations that consist of bit flags. This most excellent book is laid out with respect to the types of problems you will solve as you progress through your life as a C# programmer. In other words, each recipe contained in this book is designed to help you quickly understand the problem, learn how to solve it, and find out any potential trade-offs or ramifications to help you solve your problems quickly, efficiently, and with minimal effort.

    1 out of 1 people found this review helpful.

    Was this review helpful? Yes  No   Report this review
Sort by: Showing 1 Customer Reviews

If you find inappropriate content, please report it to Barnes & Noble
Why is this product inappropriate?
Comments (optional)