Introduction


C# is a relatively new language that was unveiled to the world when Microsoft released the first version of its .NET Framework. Since then its popularity has rocketed, and it has arguably become the language of choice for both Windows and Web developers who use .NET. Part of the appeal of C# comes from its clear syntax, which derives from C/C++, but simplifies some things that have previously discouraged some programmers. Despite this simplification, C# has retained the power of C++, and there is now no reason not to move into C#. The language is not difficult, and is an excellent one to learn elementary programming techniques with. This ease of learning, combined with the capabilities of the .NET Framework, make C# an excellent way to start your programming career.

The latest release of C#, part of .NET 2.0, builds on the existing successes and adds even more attractive features. Some of these, again, have their roots in C++—at least superficially—but some are entirely new. The latest release of Visual Studio also brings many tweaks and improvements to make your life easier and dramatically increase your productivity.

This book is intended to teach you about all aspects of C# programming, from the language itself, through Windows and Web programming, to making use of data sources, and finally to some advanced techniques such as graphics programming. You'll also learn about the capabilities of Visual Studio 2005 and all the ways that it can aid your application development. The book is written in a friendly, mentor-style fashion, where each chapter builds on previous ones and every effort is made to ease you into advanced techniques painlessly. At no point will technical terms appear from nowhere to discourage you from continuing; every concept is introduced and discussed as required. Technical jargon is kept to a minimum, but where it is necessary, it too will be properly defined and laid out in context.

The authors of this book are all experts in their field, and are all enthusiastic in their passion for both the C# language and the .NET Framework. Nowhere will you find a group of people better qualified to take you under their collective wing and nurture your understanding of C# from first principles to advanced techniques. Along with the fundamental knowledge it provides, this book is packed full of helpful hints, tips, exercises, and fully-fledged example code (available for download at p2p.wrox.com) that you will find yourself using time and again as your career progresses.

We pass this knowledge on without begrudging it, and hope that you will be able to use it to become the best programmer you can be. Good luck, and all the best!

Who This Book Is For

This book is for everyone who wants to learn how to program in C# using the .NET Framework. The early chapters cover the language itself, assuming no prior programming experience. If you have programmed in other languages before, then much of the material in these chapters will be familiar. Many aspects of C# syntax are shared with other languages, and many structures are common to practically all programming languages (such as looping and branching structures). However, even if you are an experienced programmer you will benefit from looking through these chapters to learn the specifics of how these techniques apply to C#.

If you are new to programming, you should start from the beginning. If you are new to .NET but know how to program, you should read Chapter 1 and then skim through the next few chapters before getting on to the application of the C# language. If you know how to program but haven't encountered an object oriented programming language before, you should read the chapters from Chapter 8 onward.

Alternatively, if you already know the C# language you may wish to concentrate on the chapters dealing with .NET 2.0 changes, specifically the chapters on Collections and Generics (Chapters 11 and 12), or skip the first section of the book completely and start with Chapter 14.

The chapters in this book are written with a dual purpose in mind: They can be read sequentially to provide a complete tutorial in the C# language, and they can be dipped into as required as a reference material.

In addition to the core material, each chapter also includes a selection of exercises that you can work through to ensure that you have understood the material taught. The exercises range from simple multiple choice or true/false questions to more involved questions that require you to modify or build applications. The answers to all the exercises are provided online at p2p.wrox.com.




Beginning Visual C# 2005
Beginning Visual C#supAND#174;/sup 2005
ISBN: B000N7ETVG
EAN: N/A
Year: 2005
Pages: 278

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net