Use Vb.Net class in C#

  • Thread starter Thread starter Rohit Kaushal
  • Start date Start date
R

Rohit Kaushal

i am developing a smart device application in C#.I have a
builded a class in VB.net and i want to use this class in
my C# project.pls tell me how to go about it?Any pointers
will really be helpful.

rgds,
alok
 
You could compile your VB class into a DLL library and then you add a
reference to this library in your C# project.

Thomas.
 
compile it into a .DLL and then add a reference to it in your C# program.
 
Add the VB .NET project to your C# solution, then reference the VB .NET
project in your C# project. No need to compile a VB .NET assembly.

--Neil
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top