GetReferencedAssemblies : Assembly : Reflection C# Source Code


Custom Search

C# Source Code » Reflection » Assembly »

 

GetReferencedAssemblies








    
 
using System;
using System.Reflection;

public class MainClass
{
    static void Main()
    {
    Assembly EntryAssembly;

    EntryAssembly = Assembly.GetEntryAssembly();
    foreach(AssemblyName Name in EntryAssembly.GetReferencedAssemblies())
      Console.WriteLine("Name: {0}", Name.ToString());
    }
}

 
    
   
  
   







HTML code for linking to this page:

Follow Navioo On Twitter

C# Source Code

 Navioo Reflection
» Assembly