Learning Visual Basic .NET
Learning Visual Basic .NET is a complete introduction to VB.NET and object-oriented
programming. By using hundreds of examples, this book demonstrates how to develop
various kinds of applications--including those that work with databases--and web
services. Learning Visual Basic .NET will help you build a solid foundation in .NET.
|
![]() |
Preface
1. 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
2. Getting Started with VB.NET
What's in a
Program?
Your First Program: Hello World
Examining Your First Program
3. 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
4. Visual Studio .NET
Start Page
Inside the Integrated Development Environment (IDE)
IntelliSense
Building and Running
For More Information
5. VB.NET Language Fundamentals
Types
Variables
Constants
Strings
Statements
Whitespace
6. Branching
Unconditional Branching Statements
Conditional Branching Statements
Iteration (Looping) Statements
7. Operators
The Assignment Operator (=)
Mathematical Operators
Relational
Operators
Logical Operators Within Conditionals
Operator Precedence
8. Classes and Objects
Defining Classes
Method Arguments
Constructors
Initializers
Copy Constructors
The Me Keyword
Using Shared Members
Destroying Objects
9. Inside Methods
Overloading Methods
Encapsulating Data with Properties
Passing
by Value and by Reference
10. Basic Debugging
Setting a Breakpoint
The Call Stack
11. Inheritance and Polymorphism
Specialization
and Generalization
Inheritance
Polymorphism
Abstract Classes
NotInheritable Classes
The Root of All
Classes: Object
Boxing and Unboxing Types
12. Structures
Defining a Structure
13. Interfaces
Defining an Interface
Implementing an Interface
Implementing
More Than One Interface
Casting to an Interface
Extending Interfaces
Combining Interfaces
Overriding Interface Implementations
14. Arrays
Arrays
Multidimensional
Arrays
System.Array
Indexers
and the Default Property
15. Collection Interfaces and Types
The Collection
Interfaces
Array Lists
The
Collection Class
Queues
Stacks
Copying from a Collection Type to an Array
16. Strings
Creating Strings
Manipulating Strings
Regular Expressions
The Regex Class
17. 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
18. Applications and Events
Creating a Windows
Application
Events
Server-Side
Code
19. Afterword
Where to Go from Here
Advanced Topics in VB.NET
Web (ASP.NET)
Programming
Windows Forms Programming
Other Resources
Index
См. также: