.net - Mixing VB.net code with c# code -


I have a vb.net solution and I would like to add a new DLL files written in C # and use functionality Do Dll, in the code written in vb.net.

I used many of it and it's working fine, but it's a clever thing to mess with vb.net code like I want

and What are the dangers of what I am doing?

Thank you very much for the help.

Your DLL is not a C # DLL, it's a .NET DLL. Once compiled, you have IL - it does not matter which language it came from, there should not be any problem, unless you get into a strange edge case where the DLL interface contains something like this Which is not supported by Visual Basic. But this would be a great case.

General Language Specification, or CLS, defines a subset of .NET attributes that should be supported by a .NET language, and if your DLL is compatible with CLS, then you have no problem with it If you are confused about the difference between CLS, CTS, CLR etc, then I found it very useful, although this is primarily a C # book.


Comments

Popular posts from this blog

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -