Well I couldn’t find any previous posting to answer my question so….
I am new to C# and creating some Windows Forms and noticed that it created a both Program.cs and Form1.cs files.
In both, it starts with the namespace of my program “Contacts”
namespace Contacts
{
//code here
Are these compiled together, or are they still seen separately by the compiler?
Yes, you can. The Contacts namespace will contain all classes defined across files that define that namespace.
You can also define types belonging to different namespaces in the same file. Files and namespaces are completely orthogonal concepts.
You can also split a class definition across multiple files, since C# 2.0. See here.