Simple yes/no question : Can I call a vb.net function compiled in a vb.net dll from a c# function compiled in its own C# dll? Running in the same application.
they are not any different...
Pondidum
2009-11-05 10:04:54
Just to explain it a little: C#, VB.NET and all others are compiled into IL-Code, the syntax is similar to Assembler. So, no matter in what language the Application/Library was written, it will end up as IL-Code.
Bobby
2009-11-05 10:05:59
+4
A:
Yes ofcourse. You can access the dll and can create objects of classes in the dll and call methods.
Himadri
2009-11-05 10:05:50
+10
A:
Yes you can. The other way round isn't necessarily true because you can do things in C# that aren't CLS Compliant, hence the reason you need to mark C# assemblies with
[assembly:CLSCompliant(true)]
Pete OHanlon
2009-11-05 10:06:18
+5
A:
The whole point of .NET is interoperability. Therefore, all .NET language assemblies should be able to call back and forth to other .NET assemblies, with a few very specific caveats, as noted by Pete.
Mike Hanson
2009-11-05 10:24:53