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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to overload operator in VB.NET? 1

Status
Not open for further replies.

mtchary

Programmer
Mar 4, 2004
18
CA
Hi
Is there any way to overload operators in VB.Net such that I can redefine what the +, -, = and so on mean for specific objects?

TIA
 
The current version of VB.Net doesn't support operator overloading. You'll need to create the class in C#, which has the ability to do this. The next release of VB is supposed to allow operator overloading.

Scott
Programmer Analyst
<{{><
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top