Namespace or Assembly?

后端 未结 9 731
长发绾君心
长发绾君心 2020-12-12 14:20

I am getting very confused between Namespaces and Assemblies. Are System.Data and System.Web Namespaces or Assemblies?

I have noticed these

9条回答
  •  清歌不尽
    2020-12-12 14:47

    Others have given very good and detailed answers to this question. But I want to point out that when you're not sure, you can look on MSDN. The MSDN library explains very clearly and simply the namespace and assembly in which any given type resides. It even says the name of the file (in System.Data.dll) so there is no ambiguity.

    enter image description here

提交回复
热议问题