Creation of an application domain : AppDomain : Assembly C# Examples


C# Examples » Assembly » AppDomain »

 

Creation of an application domain









    
using  System;

class  MainClass
{
    public  static  void  Main()  
    {
        AppDomain  d  =  AppDomain.CreateDomain("NewDomain");
        Console.WriteLine(AppDomain.CurrentDomain.FriendlyName);
        Console.WriteLine(d.FriendlyName);
    }
}
    
   
  
   



Output

main.exe
NewDomain


HTML code for linking to this page:

Follow Navioo On Twitter

C# Examples

 Navioo Assembly
» AppDomain