Hiii,
Can we inherit a c# class in a vb.net class.
it will work if we create an object of c# class in vb class.but now i want to inherit the c# class.
how i make this possible.
Thanks,
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
VulpesPosted Aug 7, 2012, 5:10 AM
You can then inherit from this class in a VB.NET project:
1. By adding a reference to the dll to your project.
2. By adding an Imports statement for the namespace in which the C# class resides.
3. Specifying the C# class in the Inherits statement of your VB class.