New OOP Features in Visual Basic .NET

Although properties and methods allow you to create powerful and complex objects, the object support in .NET has many more features beyond those basics. These advanced features make it easier for you to represent concepts and entities in your code, producing a system that is easier to use, maintain, and extend. Although the object support in .NET is extensive, this section provides a brief overview of five main areas: overloading, inheritance, constructors, namespaces, and static class members.

Overloading

Overloading allows a single function or subroutine to be called with a variety of different parameters. This allows a single method, for instance, to accept parameters in different combinations or using ...

Get Microsoft® Visual Basic® .NET 2003 Kick Start now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.