hello friends
I have one DLL file in VB.Net project. I want to use that DLL file in C#.Net project.
How can i use that file. please explain me.
Warm & Regards
sujit.kalagara
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.
Jignesh TrivediPosted May 19, 2013, 11:57 PM
yes, you can use Vb.net dll in c#.net by making your vb.net dll CLS compliant.
you can mark your class CLS compliant attribute when you want to use your dll in other .net languages.
Public Class Test
Public Sub TestMethod()
//do work
End Sub
please refer
http://msdn.microsoft.com/en-us/library/12a7a7h3.aspx?cs-save-lang=1&cs-lang=vb#code-snippet-1
hope this will help you.
Sandeep Singh ShekhawatPosted May 19, 2013, 9:18 AM
Here is a article link, go through this article. It would be helpful for you.
http://www.c-sharpcorner.com/UploadFile/84c85b/cross-language-interoperability-with-C-Sharp-net/