C# class in VB

Mayfield2268

Freshman
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 (don't 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 you've got the reference you can call it the same as you would any other class.
 
Back
Top