How do I use the CodeDOM to emit source code?

http://asp.dotnetheaven.com/howto/doc/listbuilder.aspx#