.
You will almost never need to have more than a few hundred lines of code per class written by hand, and you should always strive to use one class for each file (and name files with the same name as your class). This is an overall good form for project management, especially a large one.
If this is one huge, automatically generated class, you can consider splitting it into multiple files using the partial keyword .
source
share