程序集和命名空间 [英] Assemblies and Namespace

查看:102
本文介绍了程序集和命名空间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

难道一切都在一个单一命名空间编译成自己的组件?

Does everything in a single namespace compile into its own assembly?

推荐答案

没有,你可以有一个组件内的多个命名空间。在VS方面,你能想到的组件作为一个项目。一个解决方案中的每个项目,被编译到它自己的程序集。虽然内集会,你可以有多个命名空间。

No, you can have multiple namespaces within an assembly. In VS terms, you can think of an assembly as a project. Each project within a solution, gets compiled into it's own assembly. Within an assembly though, you can have multiple namespaces.

这篇关于程序集和命名空间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆