Here is a brief article on some step by step instructions on the code I recently posted with help from Matt Harrington in regards to outputing TTS to .wav via C#.

(Also, our very own Robert Brown wrote up similar instructions with a managed API.)