How do I call a DLL written in C#, from my C# main project without using the using statement
?
As in CreateObject(servername.typename[,location])
in VB.
The closest methods in the .Net framework equivalent to VB6's CreateObject call are the following:
object calcInstance = Activator.CreateInstance(calcType);
or
Assembly testAssembly = Assembly.LoadFile(@"c:\Test.dll");
Code taken from http://www.csharp-examples.net/reflection-examples/