public static void Main() { Type myNestedClassType = CreateCallee(Thread.GetDomain()); // Cretae an instance of 'MyNestedClass'. IMyInterface myInterface = (IMyInterface)Activator.CreateInstance(myNestedClassType); Console.WriteLine(myInterface.HelloMethod("Bill")); }