Determine assembly that contains a class from the classname (not an instance of a type)
- by frediannon
I am trying to determine which assembly contains a particular class. I do NOT want to create an instance of a type in that assembly, but want something like this
namespace SomeAssembly
{
class SomeClass
{
}
}
..and In client code I want:
Assembly containingAssembly = GetContainingAssembly(SomeClass)