Gets the System.Reflection.Assembly in which the type is declared. For generic types, gets the System.Reflection.Assembly that contains the generic type definition.
A System.Reflection.Assembly instance that describes the assembly containing the current type. For generic types, the instance describes the assembly that contains the definition of the generic type.
If the current instance represents a generic type, this property returns the assembly in which the type was defined. For example, suppose you create an assembly named MyGenerics.dll that contains a class named MyGenericStack<T>. If you create an instance of MyGenericStack<int> in another assembly, the System.Type.Assembly property for the constructed type returns a System.Reflection.Assembly that represents MyGenerics.dll.
Similarly, if the current instance represents a generic parameter T, this property returns the assembly that contains the generic type definition that defines T.
Operation
This property is read-only.
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0