I've recently gone through some online training courses and feel pretty comfortable with the C# language. I'm looking to start programming, but one thing I never really got from the lessons is how a program should be structured. Especially one for a game that will have several classes possibly a database, and windows to display everything in.
What I'm wondering is, does everything get coded into one .cs file, or is it all a bunch of little files. The reason I ask is I'm using visual studio 2008 and if I want to make a windowed app, it builds a shell in its own separate .cs file. Then if I make a few classes, each of those go into their own .dll files. Plus I need the main program in its own .cs file (I'm assuming as an empty project).
I might just be getting confused because the IDE is making these all up as I build from a new template. Should I just smoosh everything into the main project file, even if I want to use a window instead of the console?