You'll learn about the syntax and structure of the Visual Basic .NET language, including operators, classes and interfaces, structs, arrays, and strings. Liberty then demonstrates how to develop various kinds of applications--including those that work with databases--and web services. By the time you've finished Learning Visual Basic .NET, you'll be ready to move on to a more advanced programming guide that will help you create large-scale web and Windows applications. Whether you have a little object-oriented programming experience or you are new to programming altogether, Visual Basic .NET will set you firmly on your way to mastering the essentials of the VB.NET language.
Jesse Liberty is the best selling author of Programming ASP.NET, Programming C SHARP, and a dozen other books on web and object oriented programming. He is president of Liberty Associates, Inc., where he provides contract programming, consulting and on-site training in ASP.NET, C SHARP, C++ and related topics. Jesse has been a Distinguished Software Engineer at AT&T and Vice President for technology development at CitiBank.
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 tatements 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