Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

vb.net equivelent of C# virtual class

Status
Not open for further replies.

cogentdev

Programmer
Jul 15, 2004
5
CA
what is the vb.net equivalent of C# virtual classes
 
What do you mean by Virtual Classes? I don't think that you can create Virtual Classes in C#.

-Kris

 
In VB .NET Overridable is the keyword which is equivalent of C# Virtual. You can use this for Functions, Subs, properties etc.

Code:
Protected Overridable function yourFunction() as integer

End function

-Kris
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top