Permalink
Cannot retrieve contributors at this time
Fetching contributors…
| //<snippet2> | |
| using System; | |
| using System.Reflection; | |
| class AppDomain1 | |
| { | |
| public static void Main() | |
| { | |
| Console.WriteLine("Creating new AppDomain."); | |
| AppDomain domain = AppDomain.CreateDomain("MyDomain"); | |
| Console.WriteLine("Host domain: " + AppDomain.CurrentDomain.FriendlyName); | |
| Console.WriteLine("child domain: " + domain.FriendlyName); | |
| } | |
| } | |
| //</snippet2> |