top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Can one DLL file contains the compiled code of more than one .NET language?

+3 votes
580 views

Can one DLL file contains the compiled code of more than one .NET language? If yes, how?

posted Jan 27, 2014 by Khusboo

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+1 vote

No, it can not contain.

Reason: dll is dynamic link library which is needed by any code in running mode at run time.
suppose one dll A which is having code for C# and VB. Now the current code which is running is in C#.
Now imagine what can happen if this current running code calls dll A at run time.

JIT will not be able to distinguish between C# syntax and VB syntax. so error..

answer Jan 28, 2014 by Atul Mishra
Similar Questions
+3 votes

How do we retrieve the customized properties of a .NET application from XML .config file? Can we automate this process?

...