Ejemplo n.º 1
0
        static void Main(string[] args)
        {
            string dllPath   = AppSettings["dllPath"];
            string className = AppSettings["className"];

            Assembly assembly = LoadFrom(dllPath);
            IExample obj      = (IExample)assembly.CreateInstance(className);
            string   output   = obj.Output();

            WriteLine(output);

            WriteLine("\nPress any key...");
            ReadLine();
        }