Use Assembly.GetTypes
. For example:
Assembly mscorlib = typeof(string).Assembly;
foreach (Type type in mscorlib.GetTypes())
{
Console.WriteLine(type.FullName);
}
More Related Contents:
- How to enable assembly bind failure logging (Fusion) in .NET
- Why not inherit from List?
- How do I abort/cancel TPL Tasks?
- Why is Dictionary preferred over Hashtable in C#?
- How do I make calls to a REST API using C#?
- Fire and forget async method in asp.net mvc
- Card Shuffling in C#
- How do I check the number of bytes consumed by a structure?
- How to wait for a BackgroundWorker to cancel?
- Serialize Property as Xml Attribute in Element
- Does the use of the “Async” suffix in a method name depend on whether the ‘async’ modifier is used?
- Event Bubbling and MVP: ASP.NET
- How to capture screen to be video using C# .Net?
- Best method to obfuscate or secure .Net assemblies [closed]
- LINQ Where Ignore Accentuation and Case
- Creating threads – Task.Factory.StartNew vs new Thread()
- How to check if a user belongs to an AD group?
- .NET FileInfo.LastWriteTime & FileInfo.LastAccessTime are wrong
- Adding Text to DataGridView Row Header
- What are the advantages of delegates? [duplicate]
- Asp.Net MVC3: Set custom IServiceProvider in ValidationContext so validators can resolve services
- Visual Studio 2015 RTM – Debugging not working
- What is System.Void?
- Reverse a string with accent chars?
- How to exit all running threads?
- .indexOf for multiple results
- Is TLS 1.1 and TLS 1.2 enabled by default for .NET 4.5 and .NET 4.5.1?
- How do I atomically swap 2 ints in C#?
- Remove top and bottom padding from Text drawn on an Image
- Validating user input / Give .NET controls status OK or NOK