Resource
How do I use the CodeDOM to emit source code?
The CodeDOM is an API that gives you the ability to create a programming structure of namespaces, objects, and programming constructs by adding items to different collections. All CodeDOM programs start out with the creation of a ICodeGenerator for the target language.