how to write contents in a word doc or pdf in c#
<p>how to write contents in a word doc or pdf in c#</p>

<p>like if i want to write some daily reports  generated into word doc or pdf  ..in unix we can just pipe the out put to text file can we do that in c# .i know that using string builder we can write the contents to text files can we write the contents to a doc or pdf format ?</p>
