Chapter 3. Basic Programming in Visual Basic .NET

Team-Fly    

 
Visual Basic .NET Unleashed
By Paul Kimmel
Table of Contents
Part I.  Introducing Visual Basic .NET


In This Chapter

  • Declaring and Initializing Variables

  • Working with Block-Level Scope

  • Static Variables

  • Using Static Variables

  • Using Arrays

  • Working with New Abstract Data Types

  • Shadow Variables

  • Functions and Subroutines

  • Defining Structures

  • Using Objects

  • Exception Handling

  • Summary

In this chapter, you'll get your first chance to write Visual Basic .NET code unencumbered with the coding practices and idioms of yesterday . We will use Visual Basic .NET code and only Visual Basic .NET code. Chapter 3 provides you with an opportunity to experiment and explore the basic programming concepts that are the molecules of every program.

This chapter looks at variable declaration and initialization, block scope, static variables, and more on arrays and abstract data types. I will also introduce you to the concept of shadow variables, and provide you with some more examples on defining procedures and structures. Near the end of this chapter, we will look at the new garbage collector and the impact it has on using objects. Finally, this chapter wraps up with comprehensive coverage of exception handling. Because you will use exception handling in all of the code you writethough perhaps not all proceduresyou need to master the concepts of exception handling early.


Team-Fly    
Top
 


Visual BasicR. NET Unleashed
Visual BasicR. NET Unleashed
ISBN: N/A
EAN: N/A
Year: 2001
Pages: 222

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net