I am attempting to use the code found in the answer here: Directory.Move doesn't work (file already exist)
This is exactly the method I need, but when I try to add it to my code, the line
Directory.CreateDirectory(folders.Target);
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?)"
Can anyone help me get rid of that error?