本文介绍了.NET最大班级规模的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有在ASP.NET 3.5的限制(可能是一个编译器的限制)一类的大小?

Is there a limitation (perhaps a compiler limitation) on the size of a class in ASP.NET 3.5?

我有一个是要保持增长,会变得非常大(10万易行code,或者10K方法)一个类文件。

I have a single class file that is going to keep growing and could become quite large (easily 100k lines of code, or 10k methods).

我只需要知道是否有在一个类code或原始文件的大小,或方法量线的限制。

I simply need to know if there is a limit on lines of code, or raw files size, or quantity of methods in a single class.

请不要问为什么我做的东西,听起来既愚蠢和疯狂;我深知这种做法的后果。

Please do not ask why I'm doing something that sounds both stupid and crazy; I'm well aware of the consequences of such an approach.

推荐答案

绝对不是,没有一类的最大尺寸。

Absolutely not, there is not a max size of a class.

这篇关于.NET最大班级规模的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-28 10:03