Learning Visual Basic .NET: Introducing the Language, .NET Programming & Object Oriented Software Development

Learning Visual Basic .NET: Introducing the Language, .NET Programming & Object Oriented Software Development

by Jesse Liberty
Learning Visual Basic .NET: Introducing the Language, .NET Programming & Object Oriented Software Development

Learning Visual Basic .NET: Introducing the Language, .NET Programming & Object Oriented Software Development

by Jesse Liberty

eBook

$20.99  $27.99 Save 25% Current price is $20.99, Original price is $27.99. You Save 25%.

Available on Compatible NOOK Devices and the free NOOK Apps.
WANT A NOOK?  Explore Now

Related collections and offers


Overview

Most Visual Basic .NET books are written for experienced object-oriented programmers, but many programmers jumping on the .NET bandwagon are coming from non-object-oriented languages, such as Visual Basic 6.0 or from script programming, such as JavaScript. These programmers, and those who are adopting VB.NET as their first programming language, have been out of luck when it comes to finding a high-quality introduction to the language that helps them get started.That's why Jesse Liberty, author of the best-selling books Programming C# and Programming ASP.NET, has written an entry-level guide to Visual Basic .NET. Written in a warm and friendly manner, this book assumes no prior programming experience, and provides an easy introduction to Microsoft's most popular .NET language.Learning Visual Basic .NET is a complete introduction to VB.NET and object-oriented programming. This book will help you build a solid foundation in .NET, and show how to apply your skills by using hundreds of examples to help you become productive quickly. Learning Visual Basic .NET introduces fundamentals like Visual Studio .NET, a tool set for building Windows and Web applications. 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.


Product Details

ISBN-13: 9780596552176
Publisher: O'Reilly Media, Incorporated
Publication date: 10/25/2002
Sold by: Barnes & Noble
Format: eBook
Pages: 322
File size: 3 MB

About the Author

Jesse Liberty is the best selling author of Programming ASP.NET, Programming C#, 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#, C]+ and related topics. Jesse has been a Distinguished Software Engineer at AT&T and Vice President for technology development at CitiBank.

Table of Contents

Prefaceix
1.Visual Basic .NET and .NET Programming1
Visual Basic and .NET1
The .NET Platform3
The .NET Framework3
The VB.NET Language4
The Structure of VB.NET Applications4
The Development Environment5
2.Getting Started with VB.NET6
What's in a Program?8
Your First Program: Hello World9
Examining Your First Program11
3.Object-Oriented Programming14
Creating Models15
Classes and Objects16
Defining a Class17
Class Relationships18
The Three Pillars of Object-Oriented Programming19
Encapsulation19
Specialization20
Polymorphism21
Object-Oriented Analysis and Design21
4.Visual Studio .NET23
Start Page25
Inside the Integrated Development Environment (IDE)27
IntelliSense29
Building and Running30
For More Information31
5.VB.NET Language Fundamentals32
Types32
Variables36
Constants39
Strings47
Statements47
Whitespace48
6.Branching49
Unconditional Branching Statements50
Conditional Branching Statements52
Iteration (Looping) Statements60
7.Operators71
The Assignment Operator (=)71
Mathematical Operators71
Relational Operators76
Logical Operators Within Conditionals77
Operator Precedence79
8.Classes and Objects82
Defining Classes83
Method Arguments94
Constructors96
Initializers98
Copy Constructors100
The Me Keyword101
Using Shared Members102
Destroying Objects105
9.Inside Methods107
Overloading Methods107
Encapsulating Data with Properties110
Passing by Value and by Reference115
10.Basic Debugging121
Setting a Breakpoint121
The Call Stack129
11.Inheritance and Polymorphism130
Specialization and Generalization130
Inheritance133
Polymorphism136
Abstract Classes142
NotInheritable Classes145
The Root of All Classes: Object146
Boxing and Unboxing Types148
12.Structures151
Defining a Structure152
13.Interfaces157
Defining an Interface158
Implementing an Interface159
Implementing More Than One Interface163
Casting to an Interface165
Extending Interfaces170
Combining Interfaces173
Overriding Interface Implementations174
14.Arrays180
Arrays181
Multidimensional Arrays191
System.Array199
Indexers and the Default Property202
15.Collection Interfaces and Types212
The Collection Interfaces212
Array Lists224
The Collection Class226
Queues229
Stacks233
Copying from a Collection Type to an Array236
16.Strings239
Creating Strings239
Manipulating Strings241
Regular Expressions255
The Regex Class256
17.Throwing and Catching Exceptions259
Throwing Exceptions260
Searching for an Exception Handler260
The Throw Statement261
The Try and Catch Statements263
How the Call Stack Works264
Creating Dedicated Catch Statements266
The Finally Statement268
Exception Class Methods and Properties270
Custom Exceptions273
18.Applications and Events276
Creating a Windows Application276
Events280
Server-Side Code287
19.Afterword289
Where to Go from Here289
Advanced Topics in VB.NET289
Web (ASP .NET) Programming291
Windows Forms Programming292
Other Resources292
Index293
From the B&N Reads Blog

Customer Reviews