Organizing c# code into different files

Posted by Adam S on Stack Overflow See other posts from Stack Overflow or by Adam S
Published on 2010-05-25T22:27:53Z Indexed on 2010/05/25 22:31 UTC
Read the original article Hit count: 117

Filed under:
|
|

Hi everyone. I've gotten to a point where my main code file is about a thousand lines long and it's getting un-manageable; that is, I'm starting to get confused and not know where to locate some things. It's well-commented but there's just too much stuff.

I'd really like to be able to organize my code into different files, each with its own purpose. I want to get all the help VS gives me as I type when I edit these other files. A picture can say a thousand words:

alt text

Is what I'm trying to do even possible?

© Stack Overflow or respective owner

Related posts about c#

Related posts about wpf