Reputation: 1021
How to get the assembly name (only name ) without namespace or culture or public key token;typeof (MyClass).AssemblyQualifiedName ---> give me the fully qualified name and i want only the assembly name not the qualified name
Upvotes: 1
Views: 1095
Reputation: 32576
To get simple name of the assembly, try
typeof(MyClass).Assembly.GetName().Name
Upvotes: 5