Thư viện tri thức trực tuyến
Kho tài liệu với 50,000+ tài liệu học thuật
© 2023 Siêu thị PDF - Kho tài liệu học thuật hàng đầu Việt Nam

accelerated c# 2010 trey nash phần 1 pot
Nội dung xem thử
Mô tả chi tiết
Nash Accelerated C# 2010
Companion
eBook Available
this print for content only—size & color not accurate
CYAN
MAGENTA
YELLOW
BLACK
PANTONE 123 C
BOOKS FOR PROFESSIONALS BY PROFESSIONALS®
Trey Nash, author of
Accelerated C# 2008
Accelerated C# 2005
Accelerated VB 2005
(with Guy Fouche)
Accelerated VB 2008
(with Guy Fouche)
US $39.99
Shelve in:
.NET
User level:
Intermediate–Advanced
THE APRESS ROADMAP
Accelerated C# 2010
Pro C# 2010 and the
.NET 4.0 Platform
Pro LINQ: Language
Integrated Query in C# 2008
Beginning Android
Pro Android Games
Pro Android
www.apress.com
SOURCE CODE ONLINE
Companion eBook
See last page for details
on $10 eBook version
ISBN 978-1-4302-2537-9
9 781430 225379
5 39 9 9
Accelerated C# 2010
Dear Reader,
In your hands is a guide to creating effective C# 4.0 code. This book focuses precisely
on the C# language, showing you how to write programs that are robust, fault-tolerant, and ready to be put into widely available libraries.
I won’t burden your time with endless discussions of libraries: Accelerated C#
2010 instead presents you with a well organized, focused and easy to read text about
C# and all of the tried and true idioms, patterns, and design principles accrued in the
object oriented arena and during the lifetime of the .NET Framework. With many
short examples, I will show you how common design patterns are used routinely in
the .NET Framework and how you should employ them in your own designs.
I cover with you all the newer features of the C# language in detail - including
the dynamic type, co- and contra-variance, extension methods, lambda expressions, and Language Integrated Query (LINQ) among others. The new dynamic
type facilitates interoperability possibilities that were previously cumbersome to
implement. Extension methods, lambda expressions, and LINQ foster a functional
programming model within a traditionally imperative programming language and
you’ll find that they expand your horizons and open up new possibilities of solutions using functional programming techniques!
Another area of particular interest for C# developers is how we can write exception-safe and fault-tolerant code. The .NET Framework includes several facilities,
including Critical Execution Regions, to help protect the state of your application
in the event of an asynchronous exception. In this book, I explain how to use these
facilities to your advantage.
Have fun programming and remember, defining contract before implementation, striving to be exception neutral, applying performance analysis and optimization, and being frugal with your resource usage are all keys to a successful product.
Trey Nash
7.5 x 9.25 spine = 1.21875" 656 page count
THE EXPERT’S VOICE® IN C#
C# 2010
Trey Nash
The fast way to the latest and greatest in C#
programming and .NET 4.0
Accelerated
Accelerated C# 2010
■ ■ ■
Trey Nash
Accelerated C# 2010
Copyright © 2010 by Trey Nash
All rights reserved. No part of this work may be reproduced or transmitted in any form or by any means,
electronic or mechanical, including photocopying, recording, or by any information storage or retrieval
system, without the prior written permission of the copyright owner and the publisher.
ISBN-13 (pbk): 978-1-4302-2537-9
ISBN-13 (electronic): 978-1-4302-2538-6
Printed and bound in the United States of America 9 8 7 6 5 4 3 2 1
Trademarked names may appear in this book. Rather than use a trademark symbol with every
occurrence of a trademarked name, we use the names only in an editorial fashion and to the benefit of
the trademark owner, with no intention of infringement of the trademark.
President and Publisher: Paul Manning
Lead Editor: Jonathan Hassell
Technical Reviewer: Damien Foggon
Editorial Board: Clay Andres, Steve Anglin, Mark Beckner, Ewan Buckingham, Gary Cornell,
Jonathan Gennick, Jonathan Hassell, Michelle Lowman, Matthew Moodie, Duncan Parkes,
Jeffrey Pepper, Frank Pohlmann, Douglas Pundick, Ben Renow-Clarke, Dominic Shakeshaft,
Matt Wade, Tom Welsh
Coordinating Editor: Mary Tobin
Copy Editors: Katie Stence and Nancy Sixsmith
Compositor: Bob Cooper
Indexer: Julie Grady
Artist: April Milne
Cover Designer: Anna Ishchenko
Distributed to the book trade worldwide by Springer-Verlag New York, Inc., 233 Spring Street, 6th Floor,
New York, NY 10013. Phone 1-800-SPRINGER, fax 201-348-4505, e-mail [email protected], or
visit http://www.springeronline.com.
For information on translations, please e-mail [email protected], or visit http://www.apress.com.
Apress and friends of ED books may be purchased in bulk for academic, corporate, or promotional use.
eBook versions and licenses are also available for most titles. For more information, reference our
Special Bulk Sales–eBook Licensing web page at http://www.apress.com/info/bulksales.
The information in this book is distributed on an “as is” basis, without warranty. Although every
precaution has been taken in the preparation of this work, neither the author(s) nor Apress shall have
any liability to any person or entity with respect to any loss or damage caused or alleged to be caused
directly or indirectly by the information contained in this work.
The source code for this book is available to readers at http://www.apress.com. You will need to answer
questions pertaining to this book in order to successfully download the code.
Dedicated to the memory of a special friend
Thor
January 1999 – October 2008
For Maite
for the love and support