/*
Mastering Visual C# .NET
by Jason Price, Mike Gunderloy
Publisher: Sybex;
ISBN: 0782129110
*/
/*
Example18_1.cs illustrates creation of an application domain
*/
using System;
public class Example18_1
{
public static void Main()
{
AppDomain d = AppDomain.CreateDomain("NewDomain");
Console.WriteLine(AppDomain.CurrentDomain.FriendlyName);
Console.WriteLine(d.FriendlyName);
}
}