Summary
This chapter began with an examination of several VB 2005 keywords that allow you to build custom subroutines and functions. Recall that by default, parameters are passed by value (via the ByVal keyword); however, you may pass a parameter by reference if you mark it with ByRef. You also learned about the role of optional parameters and how to define and invoke methods taking parameter arrays.
Once we investigated the topic of method overloading, the remainder of this chapter examined several details regarding how arrays, enumerations, and structures are defined in Visual Basic 2005 and represented within the .NET base class libraries.
With this, our initial investigation of the Visual Basic 2005 programming language is complete! In the next chapter, we will begin to dig into the details of object-oriented development.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Rights and permissions
Copyright information
© 2006 Andrew Troelsen
About this chapter
Cite this chapter
(2006). VB 2005 Programming Constructs, Part II. In: Pro VB 2005 and the .NET 2.0 Platform. Apress. https://doi.org/10.1007/978-1-4302-0160-1_4
Download citation
DOI: https://doi.org/10.1007/978-1-4302-0160-1_4
Publisher Name: Apress
Print ISBN: 978-1-59059-578-7
Online ISBN: 978-1-4302-0160-1
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books