how to get namespaces inside an assembly

  • Thread starter Thread starter Paul Fi
  • Start date Start date
Something like

foreach ( Type t in yourAssembly.GetTypes() )
Console.WriteLine( t.Namespace );

where yourAssembly is an instance of System.Reflection.Assembly.



Mattias
 
Back
Top