| Start |
|---|
| Abstract Classes If classes share common functionality you can group this in a base or abstract class. Abstract classes can contain partial or no implementation at all and allow the derived type to override the base implementation. Abstract classes within VisualBasic.NET must be declared as A sub type can then Car will inherit all of the declared types within vehicle, but can only access them based upon the underlying access modifier. In the above example a new Car instance is created. The |
| Creating classes Classes provide a way of creating your own types within the .NET framework. Within a class definition you may include the following:
To declare a class you use the following syntax: Other .NET types can be encapsulated within the class and exposed accordingly, as shown below: |
Read Article
https://develop.horje.com/learn/1434/reference