I have a class file that contains all the classes needed for a specific web application. I am currently on line 7269 and contains many classes. This doesn’t bother me much, but I began to notice that Visual Studio reacts more slowly when working on this file. I think this may be caused by the file size and recompilation of Visual Studio after each press of the enter key.
Does anyone have any recommendations on line restrictions in the class file for each file, or maybe recommendations on how / why I should move classes to separate files?
I found this in relation to Java, but I am specifically associated with VB and Visual Studio 2005
Maximum lines of code allowed in a Java class?
thanks
EDIT There are about 50+ classes in the file, some small, some large!
source
share