- Paperback: 672 pages
- Publisher: Sams Publishing; 1 edition (1 Mar. 2010)
- Language: English
- ISBN-10: 0672330636
- ISBN-13: 978-0672330636
- Product Dimensions: 15.2 x 3.5 x 22.9 cm
- Average Customer Review: 5.0 out of 5 stars See all reviews (3 customer reviews)
- Amazon Bestsellers Rank: 1,404,578 in Books (See Top 100 in Books)
- See Complete Table of Contents
C# 4.0 HowTo Paperback – 1 Mar 2010
|New from||Used from|
- Choose from over 13,000 locations across the UK
- Prime members get unlimited deliveries at no additional cost
- Find your preferred location and add it to your address book
- Dispatch to this address when you check out
Customers who bought this item also bought
Enter your mobile number or email address below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.
To get the free app, enter your mobile phone number.
If you are a seller for this product, would you like to suggest updates through seller support?
From the Back Cover
Real Solutions for C# 4.0 Programmers
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!
Beginning with the language essentials and moving on to solving common problems using the .NET Framework, C# 4.0 How-To addresses a wide range of general programming problems and algorithms. Along the way is clear, concise coverage of a broad spectrum of C# techniques that will help developers of all levels become more proficient with C# and the most popular .NET tools.
Fast, Reliable, and Easy to Use!
- Write more elegant, efficient, and reusable code
- Take advantage of real-world tips and best-practices advice
- Create more effective classes, interfaces, and types
- Master powerful data handling techniques using collections, serialization, databases, and XML
- Implement more effective user interfaces with both WPF and WinForms
- Construct Web-based and media-rich applications with ASP.NET and Silverlight
- Make the most of delegates, events, and anonymous methods
- Leverage advanced C# features ranging from reflection to asynchronous programming
- Harness the power of regular expressions
- Interact effectively with Windows and underlying hardware
- Master the best reusable patterns for designing complex programs
About the Author
Ben Watson, a software engineer on Microsoft’s Bing team, helps design and implement massively scalable distributed systems and other internals for the Bing search engine. Before joining Microsoft he served as a lead developer for GeoEye, a top provider of satellite imagery. He blogs at PhilosophicalGeek.com, where he has presented many popular coding tutorials in C# and C++.
Top Customer Reviews
Based on 27 chapters, and on average about 10 how-to problems per chapter, the book covers important programming concepts encountered in C# 4.0. For a vast field of C# programming language, in my opinion the "how-to" approach taken by this book provides a more effective way of imparting the programming concepts with optimum learning time and print space. Needless to say, the author deserves credit for an effective method he has chosen for otherwise very challenging subject area to cover as conventional textbook.
Code samples used in the book (for all 27 chapters + Appendix) can be downloaded from a website as per the instruction given on page 3.
If you are interested in learning C# 4.0, consider this book your in-house virtual tutor. Highly recommended.
This assumes you know C# but just want a cookbook for the 'best way' of doing something. Its almost something that a lead developer would memorise, or you get for your team so they dont bug you.
Its easy to find the bit youre after and you done need to read pages and pages of text. Its a simple case of find the bit you want and read it. Nice and simple and it works.
Bad points - some of the examples show and too easy for "real world scenarios" but I would argue that its better than you know how to start in some area thats new to you with some assistance from this book and then go off and do some research on your own in that area.
This is definatly one of those handy refernce books that you will need time and time again.
Most Helpful Customer Reviews on Amazon.com (beta) (May include reviews from Early Reviewer Rewards Program)
The book is very diverse covering everything from the basics,WPF, XAML, Silverlight, WCF, etc. The only con is that it tries to cover to much. It would have been more useful had it spent more time on each subject area.
Overall, I would definitely recommend this book.
I'm not sure how helpful this would be to someone learning the language, but once you get past "Hello World", this can help you produce some useful code.
The good news:
The sample code covers a wide range of topics including networks, graphics, printing, storage, databases, hardware interaction, etc.
It is easy to use the `Contents at a Glance' outline to see if a particular topic of interest is covered in the book. I highly recommend looking at the table of contents before buying.
The examples follow a clear `here is a problem,' and `here is a solution' format.
While there is plenty of similar information available free on the web, for example via the Microsoft MSDN portal, Ben Watson's book has been tested with, and takes advantage of VC# 2010 and .Net 4. It also avoids some of the poor coding practice (and non-functional or irrelevant code) that makes it onto the web.
The bad news:
Before using this book, I suggest that a reader needs some knowledge of C#, the .NET Framework, and Windows basics since the embedded comments and explanatory text are rather brief. This should not be the first programming book you pick up.
The text was based on the VC# 2010 beta version. Perhaps for this reason it does not address some implementation details and shortcuts, nor differences between Express and full Visual Studio editions.
Since there is no DVD with the book, it is not possible to copy/paste the code to try the examples, or to graft them into your own programs.