Socket Class Intro - C# Port
In my opinion, the C# API for Berkeley Sockets is much cleaner, thus nicer look and easier to work with. I'd recommend putting the Server and Client code into their own projects, but go ahead and do what you want.
Server