Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var types = from a in Assembly.GetEntryAssembly().GetReferencedAssemblies()
- from t in Assembly.Load( (AssemblyName) a ).GetTypes()
- where t.IsPublic
- orderby t.Name.Length descending
- select t;
- Console.WriteLine( types.Take( 1 ).Single().FullName );
- Console.ReadLine();
Add Comment
Please, Sign In to add comment