Using other languages

  • Thread starter Thread starter kronecker
  • Start date Start date
K

kronecker

Can I have a .net vb.net program and have say a class or form that is
written in c#?

K.
 
Yes. Create a c# class library in your vb solution (non-express versions)
and add a reference to it in your vb project. Alternatively you can create a
separate solution and reference it's output in your vb project.
 
Can I have a .net vb.net program and have say a class or form that is
written in c#?


For Windows Forms: Not in a single project. You can, however, create a C#
class library project, add the form to the project and then reference the C#
project from the VB project.
 
Back
Top