using System using System Collections Generic using System Linq using

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Threading.Tasks;
using System.Reflection;
namespace Test
{
class Program
{
static void Main(string[] args)
{
string path = "TRANS2QUIK.dll";
Assembly testAssembly;
testAssembly = Assembly.LoadFile(path);
AssemblyName assName = testAssembly.GetName();
Type[] typesList = testAssembly.GetTypes();
foreach (Type testType in typesList)
{
object testObject = Activator.CreateInstance(testType);
}
}
}
}