|
Learning Visual Basic .NET
|
|
By Jesse Liberty
|
|
|
|
|
Publisher
|
: O'Reilly
|
|
Pub Date
|
: October 2002
|
|
ISBN
|
: 0-596-00386-2
|
|
Pages
|
: 320
|
|
Slots
|
: 1
|
|
|
Copyright
|
|
|
|
Preface
|
|
|
|
|
About This Book
|
|
|
|
|
Who This Book Is For
|
|
|
|
|
How the Book Is Organized
|
|
|
|
|
Conventions Used in This Book
|
|
|
|
|
Support
|
|
|
|
|
We'd Like to Hear from You
|
|
|
|
|
Acknowledgments
|
|
|
|
|
|
Chapter 1. Visual Basic .NET and .NET Programming
|
|
|
|
|
Section 1.1. Visual Basic and .NET
|
|
|
|
|
Section 1.2. The .NET Platform
|
|
|
|
|
Section 1.3. The .NET Framework
|
|
|
|
|
Section 1.4. The VB.NET Language
|
|
|
|
|
Section 1.5. The Structure of VB.NET Applications
|
|
|
|
|
Section 1.6. The Development Environment
|
|
|
|
|
|
Chapter 2. Getting Started with VB.NET
|
|
|
|
|
Section 2.1. What's in a Program?
|
|
|
|
|
Section 2.2. Your First Program: Hello World
|
|
|
|
|
Section 2.3. Examining Your First Program
|
|
|
|
|
|
Chapter 3. Object-Oriented Programming
|
|
|
|
|
Section 3.1. Creating Models
|
|
|
|
|
Section 3.2. Classes and Objects
|
|
|
|
|
Section 3.3. Defining a Class
|
|
|
|
|
Section 3.4. Class Relationships
|
|
|
|
|
Section 3.5. The Three Pillars of Object-Oriented Programming
|
|
|
|
|
Section 3.6. Encapsulation
|
|
|
|
|
Section 3.7. Specialization
|
|
|
|
|
Section 3.8. Polymorphism
|
|
|
|
|
Section 3.9. Object-Oriented Analysis and Design
|
|
|
|
|
|
Chapter 4. Visual Studio .NET
|
|
|
|
|
Section 4.1. Start Page
|
|
|
|
|
Section 4.2. Inside the Integrated Development Environment (IDE)
|
|
|
|
|
Section 4.3. IntelliSense
|
|
|
|
|
Section 4.4. Building and Running
|
|
|
|
|
Section 4.5. For More Information
|
|
|
|
|
|
Chapter 5. VB.NET Language Fundamentals
|
|
|
|
|
Section 5.1. Types
|
|
|
|
|
Section 5.2. Variables
|
|
|
|
|
Section 5.3. Constants
|
|
|
|
|
Section 5.4. Strings
|
|
|
|
|
Section 5.5. Statements
|
|
|
|
|
Section 5.6. Whitespace
|
|
|
|
|
|
Chapter 6. Branching
|
|
|
|
|
Section 6.1. Unconditional Branching Statements
|
|
|
|
|
Section 6.2. Conditional Branching Statements
|
|
|
|
|
Section 6.3. Iteration (Looping) Statements
|
|
|
|
|
|
Chapter 7. Operators
|
|
|
|
|
Section 7.1. The Assignment Operator (=)
|
|
|
|
|
Section 7.2. Mathematical Operators
|
|
|
|
|
Section 7.3. Relational Operators
|
|
|
|
|
Section 7.4. Logical Operators Within Conditionals
|
|
|
|
|
Section 7.5. Operator Precedence
|
|
|
|
|
|
Chapter 8. Classes and Objects
|
|
|
|
|
Section 8.1. Defining Classes
|
|
|
|
|
Section 8.2. Method Arguments
|
|
|
|
|
Section 8.3. Constructors
|
|
|
|
|
Section 8.4. Initializers
|
|
|
|
|
Section 8.5. Copy Constructors
|
|
|
|
|
Section 8.6. The Me Keyword
|
|
|
|
|
Section 8.7. Using Shared Members
|
|
|
|
|
Section 8.8. Destroying Objects
|
|
|
|
|
|
Chapter 9. Inside Methods
|
|
|
|
|
Section 9.1. Overloading Methods
|
|
|
|
|
Section 9.2. Encapsulating Data with Properties
|
|
|
|
|
Section 9.3. Passing by Value and by Reference
|
|
|
|
|
|
Chapter 10. Basic Debugging
|
|
|
|
|
Section 10.1. Setting a Breakpoint
|
|
|
|
|
Section 10.2. The Call Stack
|
|
|
|
|
|
Chapter 11. Inheritance and Polymorphism
|
|
|
|
|
Section 11.1. Specialization and Generalization
|
|
|
|
|
Section 11.2. Inheritance
|
|
|
|
|
Section 11.3. Polymorphism
|
|
|
|
|
Section 11.4. Abstract Classes
|
|
|
|
|
Section 11.5. NotInheritable Classes
|
|
|
|
|
Section 11.6. The Root of All Classes: Object
|
|
|
|
|
Section 11.7. Boxing and Unboxing Types
|
|
|
|
|
|
Chapter 12. Structures
|
|
|
|
|
Section 12.1. Defining a Structure
|
|
|
|
|
|
Chapter 13. Interfaces
|
|
|
|
|
Section 13.1. Defining an Interface
|
|
|
|
|
Section 13.2. Implementing an Interface
|
|
|
|
|
Section 13.3. Implementing More Than One Interface
|
|
|
|
|
Section 13.4. Casting to an Interface
|
|
|
|
|
Section 13.5. Extending Interfaces
|
|
|
|
|
Section 13.6. Combining Interfaces
|
|
|
|
|
Section 13.7. Overriding Interface Implementations
|
|
|
|
|
|
Chapter 14. Arrays
|
|
|
|
|
Section 14.1. Arrays
|
|
|
|
|
Section 14.2. Multidimensional Arrays
|
|
|
|
|
Section 14.3. System.Array
|
|
|
|
|
Section 14.4. Indexers and the Default Property
|
|
|
|
|
|
Chapter 15. Collection Interfaces and Types
|
|
|
|
|
Section 15.1. The Collection Interfaces
|
|
|
|
|
Section 15.2. Array Lists
|
|
|
|
|
Section 15.3. The Collection Class
|
|
|
|
|
Section 15.4. Queues
|
|
|
|
|
Section 15.5. Stacks
|
|
|
|
|
Section 15.6. Copying from a Collection Type to an Array
|
|
|
|
|
|
Chapter 16. Strings
|
|
|
|
|
Section 16.1. Creating Strings
|
|
|
|
|
Section 16.2. Manipulating Strings
|
|
|
|
|
Section 16.3. Regular Expressions
|
|
|
|
|
Section 16.4. The Regex Class
|
|
|
|
|
|
Chapter 17. Throwing and Catching Exceptions
|
|
|
|
|
Section 17.1. Throwing Exceptions
|
|
|
|
|
Section 17.2. Searching for an Exception Handler
|
|
|
|
|
Section 17.3. The Throw Statement
|
|
|
|
|
Section 17.4. The Try and Catch Statements
|
|
|
|
|
Section 17.5. How the Call Stack Works
|
|
|
|
|
Section 17.6. Creating Dedicated Catch Statements
|
|
|
|
|
Section 17.7. The Finally Statement
|
|
|
|
|
Section 17.8. Exception Class Methods and Properties
|
|
|
|
|
Section 17.9. Custom Exceptions
|
|
|
|
|
|
Chapter 18. Applications and Events
|
|
|
|
|
Section 18.1. Creating a Windows Application
|
|
|
|
|
Section 18.2. Events
|
|
|
|
|
Section 18.3. Server-Side Code
|
|
|
|
|
|
Chapter 19. Afterword
|
|
|
|
|
Section 19.1. Where to Go from Here
|
|
|
|
|
Section 19.2. Advanced Topics in VB.NET
|
|
|
|
|
Section 19.3. Web (ASP.NET) Programming
|
|
|
|
|
Section 19.4. Windows Forms Programming
|
|
|
|
|
Section 19.5. Other Resources
|
|
|
|
|
|
Colophon
|
|
|
|
Index
|