0

I have a class library ClassLibrary1.dll in c:\MyDll\ClassLibrary1.dll with this

public class Class1
{
    public void Run()
    {
        Console.WriteLine("Inside Class 1 Library ");
    }
}

Using AppDomain how would i create a instance for the class Class1 and execute the method "Run" in .net 2.0 Note: I do not want to use Assembly.LoadFile

Gerry
  • 137
  • 1
  • 2
  • 11

1 Answers1

1

This page discusses creating app domains, loading assemblies and types into that app domain, and then closing the app domain:

http://msdn.microsoft.com/en-us/library/yk22e11a.aspx

samjudson
  • 56,243
  • 7
  • 59
  • 69