Professional C# 2005 with .NET 3.0
byChristian Nagel, Bill Evjen, Jay Glynn, Morgan SkinnerandKarli Watson
Wrox Press 2007 (1798 pages)
ISBN:9780470124727
Providing you with the ultimate guide to the C# language, this authoritative book will help you quickly
write your own programs while also getting you up to speed on how the .NET architecture works.
Table of Contents
Professional C# 2005 with .NET 3.0
Introduction
Part I - The C# Language
Chapter 1
- .NET Architecture
Chapter 2
- C# Basics
Chapter 3
- Objects and Types
Chapter 4
- Inheritance
Chapter 5
- Arrays
Chapter 6
- Operators and Casts
Chapter 7
- Delegates and Events
Chapter 8
- Strings and Regular Expressions
Chapter 9
- Generics
Chapter 10 - Collections
Chapter 11 - Memory Management and Pointers
Chapter 12 - Reflection
Chapter 13 - Errors and Exceptions
Part II - Visual Studio
Chapter 14 - Visual Studio 2005
Chapter 15 - Deployment
Part III - Base Class Libraries
Chapter 16 - Assemblies
Chapter 17 - Tracing and Events
Chapter 18 - Threading and Synchronization
Chapter 19 - .NET Security
Chapter 20 - Localization
Chapter 21 - Transactions
Chapter 22 - Windows Services
Chapter 23 - COM Interoperability
Part IV – Data
Chapter 24 - Manipulating Files and the Registry
Chapter 25 - Data Access with .NET
Chapter 26 - Manipulating XML
Chapter 27 - .NET Programming with SQL Server 2005
Part V – Presentation
Chapter 28 - Windows Forms
Chapter 29 - Viewing .NET Data
Chapter 30 - Graphics with GDI+
Chapter 31 - Windows Presentation Foundation
Chapter 32 - ASP.NET Pages
Chapter 33 - ASP.NET Development
Chapter 34 - ASP.NET AJAX
Part VI – Communication
Chapter 35 - Accessing the Internet
Chapter 36 - Web Services with ASP.NET
Chapter 37 - .NET Remoting
Chapter 38 - Enterprise Services
Chapter 39 - Message Queuing
Chapter 40 - Windows Communication Foundation
Chapter 41 - Windows Workflow Foundation
Chapter 42 - Directory Services
Part VII - Additional Information
Chapter 43 - C#, Visual Basic, and C++/CLI
Chapter 44 - Windows Vista
Chapter 45 - Language Integrated Query
Index
Back Cover
Providing you with the ultimate guide to the C# language, this book will help you quickly write your own
programs while also getting you up to speed on how the .NET architecture works. It not only covers the
fundamentals of C# but presents numerous examples of applications that use a variety of related
technologies, including database access, advanced graphics, and directory access.
You'll first find a comprehensive tutorial that takes you through C# 2005 and the .NET 3.0 Framework,
enabling you to begin writing managed code. Next you'll explore the vast .NET class library and discover
how to use C# to solve various tasks. You'll then see how to utilize Visual Studio 2005 to create applications
based on .NET. And you'll gain the skills needed to build Windows Forms, Windows Services, web pages, and
more.
What you will learn from this book
All about C#'s syntax and data types as well as more advanced programming concepts
Strategies for enhancing security and generating your own libraries as assemblies
Ways to access databases with ADO.NET
How to use GDI+ to build applications with sophisticated graphics
Tips for using Windows Communication Foundation and Windows Workflow Foundation
How to write programs which take into account the new features and barriers found in Windows Vista
Who this book is for
This book is for the experienced developer, although no previous knowledge of C# or .NET programming is
assumed. It is also for programmers who know .NET 2.0 and are interested in learning .NET 3.0 and Visual
Studio 2005.
Professional C# 2005 with .NET 3.0
Christian Nagel
Bill Evjen
Jay Glynn
Morgan Skinner
Karli Watson
Wiley Publishing, Inc.
Published by
Wiley Publishing, Inc.
10475 Crosspoint Boulevard
Indianapolis, IN 46256
www.wiley.com
© 2007 by Wiley Publishing, Inc., Indianapolis, Indiana
ISBN: 9780470124727
10 9 8 7 6 5 4 3 2 1
Library of Congress Cataloging-in-Publication Data: Available from Publisher.
No part of this publication may be reproduced, stored in a retrieval system or transmitted in any form
or by any means, electronic, mechanical, photocopying, recording, scanning or otherwise, except as
permitted under Sections 107 or 108 of the 1976 United States Copyright Act, without either the prior
written permission of the Publisher, or authorization through payment of the appropriate per-copy fee
to the Copyright Clearance Center, 222 Rosewood Drive, Danvers, MA 01923, (978) 750-8400, fax
(978) 646-8600. Requests to the Publisher for permission should be addressed to the Legal
Department, Wiley Publishing, Inc., 10475 Crosspoint Blvd., Indianapolis, IN 46256, (317) 572-3447,
fax (317) 572-4355, or online at />LIMIT OF LIABILITY/DISCLAIMER OF WARRANTY: THE PUBLISHER AND THE AUTHOR MAKE
NO REPRESENTATIONS OR WARRANTIES WITH RESPECT TO THE ACCURACY OR
COMPLETENESS OF THE CONTENTS OF THIS WORK AND SPECIFICALLY DISCLAIM ALL
WARRANTIES, INCLUDING WITHOUT LIMITATION WARRANTIES OF FITNESS FOR A
PARTICULAR PURPOSE. NO WARRANTY MAY BE CREATED OR EXTENDED BY SALES OR
PROMOTIONAL MATERIALS. THE ADVICE AND STRATEGIES CONTAINED HEREIN MAY NOT
BE SUITABLE FOR EVERY SITUATION. THIS WORK IS SOLD WITH THE UNDERSTANDING
THAT THE PUBLISHER IS NOT ENGAGED IN RENDERING LEGAL, ACCOUNTING, OR OTHER
PROFESSIONAL SERVICES. IF PROFESSIONAL ASSISTANCE IS REQUIRED, THE SERVICES
Index
Y
yield statement
array iteration and, 148–153
enumerator type created with, 247
Index
Z
zero impact (xcopy) installation, 19
zones, security
code groups membership conditions, 591
managing, 630–632