是否有类号码,一个命名空间可以在.NET中的任何限制? [英] Is there any limit on number of classes that a namespace can have in .net?
本文介绍了是否有类号码,一个命名空间可以在.NET中的任何限制?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否有类号码,一个命名空间可以在.NET中的任何限制?另外是什么类的建议的数量,应该有一个命名空间?
Is there any limit on number of classes that a namespace can have in .net ? Further what is the recommended number of classes that there should be in a namespace?
推荐答案
我尝试过了:我刚刚建立的包括百万类型没有任何问题的组件。然而,在500万C#编译器内存不足: - )
I tried it out: I just built an assembly containing 1,000,000 types without any problem. However at 5,000,000 the C# compiler ran out of memory :-).
这篇关于是否有类号码,一个命名空间可以在.NET中的任何限制?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文