| |
| |
Preface | |
| |
| |
| |
Visual Basic .NET and .NET Programming | |
| |
| |
Visual Basic and .NET | |
| |
| |
The .NET Platform | |
| |
| |
The .NET Framework | |
| |
| |
The VB.NET Language | |
| |
| |
The Structure of VB.NET Applications | |
| |
| |
The Development Environment | |
| |
| |
| |
Getting Started with VB.NET | |
| |
| |
What's in a Program? | |
| |
| |
Your First Program: Hello World | |
| |
| |
Examining Your First Program | |
| |
| |
| |
Object-Oriented Programming | |
| |
| |
Creating Models | |
| |
| |
Classes and Objects | |
| |
| |
Defining a Class | |
| |
| |
Class Relationships | |
| |
| |
The Three Pillars of Object-Oriented Programming | |
| |
| |
Encapsulation | |
| |
| |
Specialization | |
| |
| |
Polymorphism | |
| |
| |
Object-Oriented Analysis and Design | |
| |
| |
| |
Visual Studio .NET | |
| |
| |
Start Page | |
| |
| |
Inside the Integrated Development Environment (IDE) | |
| |
| |
IntelliSense | |
| |
| |
Building and Running | |
| |
| |
For More Information | |
| |
| |
| |
VB.NET Language Fundamentals | |
| |
| |
Types | |
| |
| |
Variables | |
| |
| |
Constants | |
| |
| |
Strings | |
| |
| |
Statements | |
| |
| |
Whitespace | |
| |
| |
| |
Branching | |
| |
| |
Unconditional Branching Statements | |
| |
| |
Conditional Branching Statements | |
| |
| |
Iteration (Looping) Statements | |
| |
| |
| |
Operators | |
| |
| |
The Assignment Operator (=) | |
| |
| |
Mathematical Operators | |
| |
| |
Relational Operators | |
| |
| |
Logical Operators Within Conditionals | |
| |
| |
Operator Precedence | |
| |
| |
| |
Classes and Objects | |
| |
| |
Defining Classes | |
| |
| |
Method Arguments | |
| |
| |
Constructors | |
| |
| |
Initializers | |
| |
| |
Copy Constructors | |
| |
| |
The Me Keyword | |
| |
| |
Using Shared Members | |
| |
| |
Destroying Objects | |
| |
| |
| |
Inside Methods | |
| |
| |
Overloading Methods | |
| |
| |
Encapsulating Data with Properties | |
| |
| |
Passing by Value and by Reference | |
| |
| |
| |
Basic Debugging | |
| |
| |
Setting a Breakpoint | |
| |
| |
The Call Stack | |
| |
| |
| |
Inheritance and Polymorphism | |
| |
| |
Specialization and Generalization | |
| |
| |
Inheritance | |
| |
| |
Polymorphism | |
| |
| |
Abstract Classes | |
| |
| |
NotInheritable Classes | |
| |
| |
The Root of All Classes: Object | |
| |
| |
Boxing and Unboxing Types | |
| |
| |
| |
Structures | |
| |
| |
Defining a Structure | |
| |
| |
| |
Interfaces | |
| |
| |
Defining an Interface | |
| |
| |
Implementing an Interface | |
| |
| |
Implementing More Than One Interface | |
| |
| |
Casting to an Interface | |
| |
| |
Extending Interfaces | |
| |
| |
Combining Interfaces | |
| |
| |
Overriding Interface Implementations | |
| |
| |
| |
Arrays | |
| |
| |
Arrays | |
| |
| |
Multidimensional Arrays | |
| |
| |
System.Array | |
| |
| |
Indexers and the Default Property | |
| |
| |
| |
Collection Interfaces and Types | |
| |
| |
The Collection Interfaces | |
| |
| |
Array Lists | |
| |
| |
The Collection Class | |
| |
| |
Queues | |
| |
| |
Stacks | |
| |
| |
Copying from a Collection Type to an Array | |
| |
| |
| |
Strings | |
| |
| |
Creating Strings | |
| |
| |
Manipulating Strings | |
| |
| |
Regular Expressions | |
| |
| |
The Regex Class | |
| |
| |
| |
Throwing and Catching Exceptions | |
| |
| |
Throwing Exceptions | |
| |
| |
Searching for an Exception Handler | |
| |
| |
The Throw Statement | |
| |
| |
The Try and Catch Statements | |
| |
| |
How the Call Stack Works | |
| |
| |
Creating Dedicated Catch Statements | |
| |
| |
The Finally Statement | |
| |
| |
Exception Class Methods and Properties | |
| |
| |
Custom Exceptions | |
| |
| |
| |
Applications and Events | |
| |
| |
Creating a Windows Application | |
| |
| |
Events | |
| |
| |
Server-Side Code | |
| |
| |
| |
Afterword | |
| |
| |
Where to Go from Here | |
| |
| |
Advanced Topics in VB.NET | |
| |
| |
Web (ASP .NET) Programming | |
| |
| |
Windows Forms Programming | |
| |
| |
Other Resources | |
| |
| |
Index | |