If you are interested in writing programs for the new Microsoft C# programming language, then C#: Your visual blueprint for building .NET applications is the book for you. This book will take you through the basics of using the Visual Studio Microsoft Development Environment (MDE) window and familiarize you with the essentials of C# programming. The book even covers advanced topics including creating forms, macros, and Web applications. No prior experience with programming is required, but familiarity with the Microsoft Windows operating system installed on your computer is an asset | C Your visual blueprint for building .NET applications by Eric Butow and Tommy Ryan Visual m Hungry Minds Best-Selling Books Digital Downloads e-Books Answer Networks e-Newsletters Branded Web Sites e-Learning New York NY Cleveland OH Indianapolis IN C Your visual blueprint for building .NET applications Trademark Acknowledgments Published by Hungry Minds Inc. 909 Third Avenue New York NY 10022 Copyright 2002 Hungry Minds Inc. Certain designs text and illustrations Copyright 1992-2002 maranGraphics Inc. used with maranGraphics permission. All rights reserved. No part of this book including interior design cover design and icons may be reproduced or transmitted in any form by any means electronic photocopying recording or otherwise without the prior written permission of the publisher. maranGraphics Inc. 5755 Coopers Avenue Mississauga Ontario Canada L4Z 1R9 Library of Congress Control Number 2001089361 ISBN 0-7645-3601-X Printed in the United States of America 10 9 8 7 6 5 4 3 2 1 1V QW RR QR IN Distributed in the United States by Hungry Minds Inc. Distributed by CDG Books Canada Inc. for Canada by Transworld Publishers Limited in the United Kingdom by IDG Norge Books for Norway by IDG Sweden Books for Sweden by IDG Books Australia Publishing Corporation Pty. Ltd. for Australia and New Zealand by TransQuest Publishers Pte Ltd. for Singapore Malaysia Thailand Indonesia and Hong Kong by Gotop Information Inc. for Taiwan by ICG Muse Inc. for Japan by Intersoft for South Africa by Eyrolles for France by International Thomson Publishing for Germany Austria and Switzerland by Distribuidora Cuspide for Argentina by LR International for Brazil by Galileo Libros for Chile by Ediciones ZETA . Ltda. for Peru by WS Computer Publishing Corporation Inc. for the Philippines by Contemporanea de Ediciones for Venezuela by Express Computer Distributors for the Caribbean and West Indies by Micronesia Media Distributor Inc. for Micronesia by Chips Computadoras . de . for .