Write output from microcontroller connected by usb onto txt file on host computer

How do I write output from a microcontroller connected by usb onto a .txt file on my host computer with .net micro framework? or is it possible to redirect console output in visual c# to write to a txt file?

I suggest you start by reading the beginners ebook in the download section. it will tell you about all the features of netmf and gives you examples. you can choose the best approach for your application.