Can I make an obejct of class VB from class C #

Can I make an obejct of class VB from class C #, if possible, what should I do?

+3
source share
3 answers

Yes. First you have to compile the VB class using the VB compiler. The easiest way to do this is to have C # code and VB code in separate assemblies in separate projects. You can then include the VB project as a reference in a C # project and use it that way.

+5
source

Of course, you can use the class in dll created in vb.net in a C # project. However, you cannot do this initially from within Visual Studio for the same project.

+3
source

1) VB, .

2) .

3) .

+3

Source: https://habr.com/ru/post/1784367/


All Articles