Read the article at CommunityMX.com
Abstract
Learn the ins and outs of compiling .NET source code using:
Notepad/Command Line compiler
#Develop
Visual Studio .NET
Armed with this knowledge, you will be able to create .dll's to encapsulate and modularize your code ... not to mention that you will be a hop and a skip away from writing desktop applications.