ebook img

C# for Programmers PDF

1356 Pages·2005·29.565 MB·English
Save to my drive
Quick download
Download
Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.

Preview C# for Programmers

ptg C# P FOR ROGRAMMERS S E ECOND DITION D ® D S EITEL EVELOPER ERIES ptg D e i t e l ® S e r How To Program Series Advanced Java™ 2 Platform How to Program C How to Program, 4/e C++ How to Program, 5/e – Including Cyber Classroom Visual C#® 2005 How to Program, 2/e e-Business and e-Commerce How to Program Internet and World Wide Web How to Program, 3/e Java™ How to Program, 6/e – Including Cyber Classroom Small C++ How to Program, 5/e – Including Cyber Classroom ptg Small Java™ How to Program, 6/e – Including Cyber Classroom Perl How to Program Python How to Program Visual C++® .NET How to Program Visual Basic® 2005 How to Program, 3/e Wireless Internet & Mobile Business How to Program XML How to Program i e s P a g e Simply Series Simply Visual Basic® .NET: An Application Driven Tutorial Simply C++: An Application-Driven Approach (Visual Studio .NET 2002 Tutorial Approach Edition) Simply C#: An Application-Driven Simply Visual Basic® .NET 2003: An Tutorial Approach Application Driven Tutorial Approach Simply Java™ Programming: An Application-Driven Tutorial Approach Also Available SafariX Web Books www.SafariX.com To follow the Deitel publishing program, please register at: www.deitel.com/newsletter/subscribe.html ptg for the free DEITEL®BUZZONLINEe-mail newsletter. To communicate with the authors, send e-mail to: [email protected] For information on corporate on-site seminars offered by Deitel & Associates, Inc. worldwide, visit: www.deitel.com or write to [email protected] For continuing updates on Prentice Hall/Deitel publications visit: www.deitel.com www.prenhall.com/deitel www.InformIT.com/deitel Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trade- marks. Where those designations appear in this book, and the publisher was aware of a trademark claim, the des- ignations have been printed with initial capital letters or in all capitals. The authors and publisher have taken care in the preparation of this book, but make no expressed or implied war- ranty of any kind and assume no responsibility for errors or omissions. No liability is assumed for incidental or consequential damages in connection with or arising out of the use of the information or programs contained herein. The publisher offers excellent discounts on this book when ordered in quantity for bulk purchases or special sales, which may include electronic versions and/or custom covers and content particular to your business, training goals, marketing focus, and branding interests. For more information, please contact: U. S. Corporate and Government Sales (800) 382-3419 [email protected] For sales outside the U. S., please contact: International Sales [email protected] Visit us on the Web: www.phptr.com Library of Congress Cataloging-in-Publication Data On file ptg © 2006 Pearson Education, Inc. All rights reserved. Printed in the United States of America. This publication is protected by copyright, and permission must be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or transmission in any form or by any means, electronic, mechanical, photocopying, recording, or like- wise. For information regarding permissions, write to: Pearson Education, Inc. Rights and Contracts Department One Lake Street Upper Saddle River, NJ 07458 ISBN 0-13-134591-5 ISBN 0-13-134591-5 Text printed in the United States on recycled paper at RR Donnelley Crawfordsville in Crawfordsville, Indiana. 4th Printing June 2008 C# P FOR ROGRAMMERS S E ECOND DITION D ® D S EITEL EVELOPER ERIES Harvey M. Deitel Deitel & Associates, Inc. Paul J. Deitel ptg Deitel & Associates, Inc. Upper Saddle River, NJ • Boston • Indianapolis • San Francisco New York • Toronto • Montreal • London • Munich • Paris • Madrid Capetown • Sydney • Tokyo • Singapore • Mexico City Trademarks Microsoft® Visual Studio® 2005 are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries. Object Management Group, OMG, Unified Modeling Language and UML are trademarks of Object Management Group, Inc. ptg To Janie Schwark of Microsoft With sincere gratitude for the privilege and the pleasure of working closely with you for so many years. Harvey M. Deitel and Paul J. Deitel ptg This page intentionally left blank ptg Contents Preface xxiii 1 Introduction to Computers, the Internet and Visual C# 1 1.1 Introduction 2 1.2 Microsoft’s Windows® Operating System 2 1.3 C# 3 1.4 The Internet and the World Wide Web 4 1.5 Extensible Markup Language (XML) 5 1.6 Microsoft’s .NET 5 1.7 The .NET Framework and the Common Language Runtime 6 1.8 Test-Driving a C# Application 8 ptg 1.9 (Only Required Section of the Case Study) Software Engineering Case Study: Introduction to Object Technology and the UML 10 1.10 Wrap-Up 16 1.11 Web Resources 16 2 Introduction to the Visual C# 2005 Express Edition IDE 18 2.1 Introduction 19 2.2 Overview of the Visual Studio 2005 IDE 19 2.3 Menu Bar and Toolbar 25 2.4 Navigating the Visual Studio 2005 IDE 27 2.4.1 SolutionExplorer 31 2.4.2 Toolbox 32 2.4.3 PropertiesWindow 33 2.5 Using Help 35 2.6 Using Visual Programming to Create a Simple Program Displaying Text and an Image 37 2.7 Wrap-Up 49 2.8 Web Resources 50 3 Introduction to C# Applications 51 3.1 Introduction 52

See more

The list of books you might like

Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.