<?xml version="1.0" encoding="UTF-8" ?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Posteet: CSharp</title> 
    <link>http://www.posteet.com/</link> 
    <description>Recent posteets posted to Posteet</description>
    <ttl>60</ttl>

    
    <item>
        <title>Read/Write/Delete local files</title>
        <link>http://www.posteet.com/view/882</link>
        <description>
        <![CDATA[<pre>private void createFile(String ruta, String contenido) {
	FileStream fs = new FileStream(ruta, FileMode.Create);
	StreamWriter sw = new StreamWriter(fs);
	sw.Write(contenido);
	sw.Close();
}

private void deleteFile(String ruta) {
	File.Delete(ruta);
}
	
private String readFile(String ruta) {
	FileStream fs = new FileStream(ruta, FileMode.Open);
	StreamReader sr = new StreamReader(fs);
	String s=sr.ReadToEnd();
	sr.Close();
	return s;
}</pre> <a href="http://www.posteet.com/tags/CSharp">[CSharp]</a> ]]>        </description>
        <dc:creator>leomarcov</dc:creator>
        <pubDate>Thu, 24 Apr 2008 13:11:05 +0000</pubDate>

            <category>CSharp</category>
    
    </item>


</channel>
</rss>
