C# class in VB

Mayfield2268

Active member
Joined
Feb 24, 2003
Messages
30
I have a database class that is written in C#.

I was wondering if there was anyway that I can use this C# class within a VB.net application, or do I need to convert the class.

Thanks
 
Not sure if there is an easier way (dont think you can directly include another language in your project), but you could create a C# project that holds this file, add this project to your solution. Then reference this project in your existing project. Once youve got the reference you can call it the same as you would any other class.
 

Similar threads

Back
Top