title: In C#, is there a way to separate code that is in the same class into separate files?
body: <p>I recently inherited some code that is several thousand lines long and extremely disorganized.</p>
  
  <p>I'm trying to re-factor it so that code is at least easier to find, but since it was built in visual studio, everything is contained within a single "form" class, and the way it's written makes it difficult to separate code without breaking something. </p>
  
  <p>Is there a way that I could have the code live in a different file, but still keep it in the same class?</p>