file writing suggestion requried (urgent)http://forums.asp.net/t/1403974.aspx/1?file+writing+suggestion+requried+urgent+Thu, 02 Apr 2009 10:20:54 -040014039743048683http://forums.asp.net/p/1403974/3048683.aspx/1?file+writing+suggestion+requried+urgent+file writing suggestion requried (urgent) <p>hello <br> &nbsp;&nbsp;&nbsp;&nbsp; I am working in a application. In which I want to write In message in one file and out message in another file. I want to know what is the best way to<br> write message in a file. which take less process utilization and also efficent.<br> <br> Regards<br> &nbsp;</p> 2009-03-30T13:09:48-04:003057543http://forums.asp.net/p/1403974/3057543.aspx/1?Re+file+writing+suggestion+requried+urgent+Re: file writing suggestion requried (urgent) <font color="#2b91af" size="2"><font color="#2b91af" size="2"> <p>hai,</p> <p>Simple and efficient way to read and write the file </p> <p>&nbsp;</p> <p>To wirte a file&nbsp;</p> <p>File</font></font><font size="2">.WriteAllText(</font><font color="#a31515" size="2"><font color="#a31515" size="2">&quot;filepath&quot;</font></font><font size="2">, </font><font color="#a31515" size="2"><font color="#a31515" size="2">&quot;Content&quot;</font></font><font size="2">);</font></p> <font size="2">to read a file</font><font size="2"> <p></font><font color="#2b91af" size="2"><font color="#2b91af" size="2">File</font></font><font size="2">.ReadAllText(</font><font color="#a31515" size="2"><font color="#a31515" size="2">&quot;filepath&quot;</font></font><font size="2">);</p> </font> 2009-04-02T10:20:54-04:00