List all current Assemblies : Assembly Properties : Assembly C# Examples


C# Examples » Assembly » Assembly Properties »

 

List all current Assemblies









    
using  System;
using  System.Reflection;
using  System.Globalization;

class  MainClass
{
      public  static  void  Main(){
                Assembly[]  assemblies  =  AppDomain.CurrentDomain.GetAssemblies();

                foreach  (Assembly  a  in  assemblies)
                {
                        Console.WriteLine(a.GetName());
                }
      }
}
    
   
  
   



Output

mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null


HTML code for linking to this page:

Follow Navioo On Twitter

C# Examples

 Navioo Assembly
» Assembly Properties