creating a new folder and a text file inside that folder
<p>I wanna create a new folder named <code>log</code> and inside that folder i want to create 
a textfile named <code>log.txt</code> and this is the path i want to create <code>D:\New Folder</code></p>

<p>i have tried this to create a new folder named log</p>

<pre><code>string FilePathSave = Folder.ToString() + System.IO.Directory.CreateDirectory(@"D:\New Folder\Log");
</code></pre>

<p>And i have created a text file using this</p>

<pre><code>string FilePathSave = Folder.ToString() +"log.txt";
File.WriteAllText(FilePathSave, TextBox1.Text);                
</code></pre>

<p>But i cant create like <code>D:\New Folder\Log\log.txt</code>...any suggestion??</p>
