How do you get the root namespace of an assembly?

前端 未结 13 1973
后悔当初
后悔当初 2020-12-01 11:41

Given an instance of System.Reflection.Assembly.

13条回答
  •  既然无缘
    2020-12-01 12:29

    Namespaces have nothing to do with assemblies - any mapping between a namespace and the classes in an assembly is purely due to a naming convention (or coincidence).

提交回复
热议问题