WorkingSet change after loading the DLL : Environment : Development C# Examples


C# Examples » Development » Environment »

 

WorkingSet change after loading the DLL









    
using  System;
using  System.Collections;
using  System.Collections.Generic;
using  System.Diagnostics;
using  System.Globalization;
using  System.IO;
using  System.Reflection;
using  System.Security;
using  System.Security.Permissions;
using  System.Security.Policy;

public  class  MainClass
{
        public  static  void  Main()
        {
                Console.WriteLine("Before:  {0}",  Environment.WorkingSet);

                //  Loads  System.dll  (if  it's  not  already  loaded):
                Type  uriType  =  typeof(Uri);  
                Console.WriteLine("After  loading  System.dll:  {0}",  Environment.WorkingSet);
        }

}
    
   
  
   



Output

Before: 4550656
After loading System.dll: 4964352


HTML code for linking to this page:

Follow Navioo On Twitter

C# Examples

 Navioo Development
» Environment