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
About DLL files
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.


Sandeep Singh ShekhawatRank #147 · 15.6K pointsPosted May 19, 2013, 5:18 AM EDT
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/
Jignesh TrivediRank #16 · 50.3K pointsPosted May 19, 2013, 7:57 PM EDT
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.