a8721fdd98159feee3b57e65e1561cfcad61de43
[mono.git] / mono / tests / exiting / appdomain.cs
1
2 using System;
3
4 public class foo {
5         public static void Main() {
6                 AppDomain domain=AppDomain.CreateDomain("Other");
7                 Console.WriteLine("About to execute");
8                 domain.ExecuteAssembly("main-exit.exe");
9                 Console.WriteLine("Execute returns");
10                 AppDomain.Unload(domain);
11                 Console.WriteLine("finished");
12         }
13 }
14