Product Description
What this book does...
Section 1 tours the .NET Framework and teaches the basics of working with Microsofts development environment, Visual Studio .NET. In this section, youll learn how to develop a simple Windows application. To do that, youll use the Forms Designer to design a Windows form, and youll learn use the Code Editor to add and edit the code for the form.
Section 2 presents the data types, control structures, and other essential elements of the C# language as well as the core .NET classes youll use to develop basic Windows applications. Along the way, youll also learn how to handle the tasks that are required in most business apps. In chapter 7, for example, youll learn professional data validation techniques that we havent seen presented in any competing book, even though data validation is an essential part of every business application.
Section 3 teaches the powerful object-oriented programming features of the C# language. Youll learn how to create and use your own custom business objects, and youll learn how to use database classes to populate those objects with data from files or a database. That, of course, is how applications work in the real world, even though most C# books dont show you that. In this section, youll also learn how to use inheritance, polymorphism, interfaces, and much more. Even if youre an experienced programmer, we think youll find that this book brings a new clarity to all of these subjects.
Section 4 teaches you how to use ADO.NET to develop database applications because these applications account for most of the applications in the business world. Here, youll start by learning how to use a wizard to create the ADO.NET database objects and how to work with typed datasets that use bound and unbound controls. But then, youll also learn how to use untyped datasets and data commands to create database classes that work with the three-tiered architecture thats commonly used by object-oriented applications.
Section 5 shows how to work with text files, binary files, and XML. Youll also learn how to enhance a Windows interface with a Multi-Document Interface (MDI), menus, toolbars, and help, all finishing touches that make your applications thoroughly professional.
From the Publisher
Who this book is for
This book is for anyone who wants to learn how to use Microsoft C# .NET for developing professional Windows applications using Visual Studio and the .NET Framework. That includes the entire range from beginning programmers to experienced Java, C++, and Visual Basic programmers.
To be able to work equally well for beginners, experts, and everyone in between, this book uses a unique, modular instructional method that allows you to set your own pace through the material. For example, section 1 expertly guides you through the basics of using the Visual Studio IDE and the .NET Framework. Whether you are a Java or C++ programmer or a complete beginner, you can get up to speed quickly with this development environment by reading this section and doing the exercises at the end of each chapter. On the other hand, if youre a Visual Basic programmer who is already comfortable with this IDE and Framework, you can skip or skim this section.
Sections 2 and 3 use the same modular, self-paced approach to methodically teach the coding skills that you need to become productive with the C# language. If youre already familiar with another language in the C++ family, such as Java, you should be able to move through this section quickly, focusing on the classes and methods that are available from the .NET Framework. Conversely, if youre already familiar with .NET, you can focus on the details of the C# syntax. Either way, youre going to learn C#, and youre going to learn it at a pace thats right for you.
Once you complete the first three sections of this book, section 4 shows how to use ADO.NET to develop database applications with C#. Unlike most other C# books that only have one introductory chapter on ADO.NET, though, this book has five chapters! And these five chapters show how to develop ADO.NET applications the way theyre developed by the best professionals. In fact, we think youre going to find that this is really two books in one: a C# book and an ADO.NET book.