Search code examples
c#.netvb.netdotnetnuke

Can we create objects of a C# class from a VB.NET class in DNN?


Can we create objects of a C# class from a VB.NET class and vice versa?

If yes, then how? If no, then why not?

edited:-

IN my DNN, i have a user control made in c#, and i am caling a vb class in APP code by creating this 
class obejct, but it don't work in DNN.

Solution

  • Yes you can. There is nothing special to it. Just instantiate it, like you do with any other class.