C# - Error Using Code Previously Posted Here
<p>I am attempting to use the code found in the answer here: <a href="http://stackoverflow.com/questions/2553008/directory-move-doesnt-work-file-already-exist">Directory.Move doesn&#39;t work (file already exist)</a></p>

<p>This is exactly the method I need, but when I try to add it to my code, the line</p>

<p><code>Directory.CreateDirectory(folders.Target);</code></p>

<p>has the word "Target" underlined in red, and the error is "'object' does not contain a definition for 'Target' and no extension method 'Target' accepting a first argument of type 'object' could be found (are you missing a using directive or an assembly reference?)"</p>

<p>Can anyone help me get rid of that error?</p>
