title: Is there a recommended number of lines of code per file?
body: <p>I have a class file that contains all the classes that are needed for a certain web application. Currently I'm at line 7269 and it contains numerous classes. I'm not particularly worried but I've started to notice that when working on this file Visual Studio responds slower. I'm thinking that this may be caused by the size of the file and Visual Studio's re-compile after every enter key press.</p>
  
  <p>Has anyone got any recommendations for limits to lines per file of classes per file or perhaps guidelines as to how/why I should move classes into separate files?</p>
  
  <p>I found this regarding Java but I'm specifically concerned with VB and Visual Studio 2005</p>
  
  <p><a href="https://stackoverflow.com/questions/107855/is-there-any-no-of-lines-code-limit-for-a-java-class">Maximum lines of code permitted in a Java class?</a></p>
  
  <p>Thanks</p>
  
  <p>EDIT
  There are about 50+ classes in the file, some tiny, some large!</p>