Dinusha Dinusha - 7 months ago 37
C# Question

how to call dll file without using statment in c#

How do I call a DLL written in C#, from my C# main project without using the

using statement

As in
in VB.


The closest methods in the .Net framework equivalent to VB6's CreateObject call are the following:

object calcInstance = Activator.CreateInstance(calcType);
Assembly testAssembly = Assembly.LoadFile(@"c:\Test.dll");

Code taken from http://www.csharp-examples.net/reflection-examples/