示例#1
0
文件: a.cs 项目: mono/gert
		public static void Main (string [] args)
		{
			Console.WriteLine ("Loading assembly \"b\" ...");
			Assembly.LoadFrom ("b.dll");
			Console.WriteLine ("Assembly \"b\" loaded ok.");

			Console.WriteLine ("Initializing type in assembly \"b\" ...");
			b.SomeClass some = new b.SomeClass ();
			Console.WriteLine ("Type initialized ok.");

			Console.WriteLine ("Invoking method which uses assembly \"c\" ...");
			some.Test ();
			Console.WriteLine ("Method invoke ok.");
		}