Summary


This chapter discusses the concept of scope and the impact it has on the visibility of data in different sections of a program. It describes how Public and Private keywords can be used to alter a variable's scope. Finally, it discusses what the lifetime of a variable is and how the Static keyword can be used to extend the lifetime of a variable.

Some issues related to both scope and lifetime are not discussed in this chapter. You will learn about them later in the book, when they are in contexts that makes more sense.



Visual Basic .NET. Primer Plus
Visual Basic .NET Primer Plus
ISBN: 0672324857
EAN: 2147483647
Year: 2003
Pages: 238
Authors: Jack Purdum

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