difference between Assembly.Load and Assembly.LoadFrom : Assembly Load : Assembly C# Examples


C# Examples » Assembly » Assembly Load »

 

difference between Assembly.Load and Assembly.LoadFrom









    
using  System;
using  System.Reflection;

class  Starter  {
        static  void  Main()  {
                Assembly  library  =  Assembly.Load("library,  Version=2.0.0.0,  "  +
                    "Culture=Neutral,  PublicKeyToken=9b184fc90fb9648d");
                Console.WriteLine("Assembly.Load:    {0}",  library.FullName);
                library  =  Assembly.LoadFrom("library.dll");
                Console.WriteLine("Assembly.LoadFrom  {0}",  library.FullName);
        }
}
    
   
  
   




HTML code for linking to this page:

Follow Navioo On Twitter

C# Examples

 Navioo Assembly
» Assembly Load