How to remove FileInfo in Array List that already processed in .Take()
<p>here is the code : </p>

<pre><code>        // Files has 25 PDF
        var Files = Folder.GetFileToPublicFolder(Folder.srcFolder);

        foreach (FileInfo file in Files)
        {
            // Get 10 PDF in Files
            List&lt;FileInfo&gt; files = Files.Take(10).ToList();

            // Process the 10 PDF
            foreach (var item in files)
            {                    
                File.Move(Path.Combine(Folder.srcFolder, item.Name), Path.Combine(Folder.tmpFolder, item.Name));                    
            }

            files = null;

            ProcessParallelThread(e);
        }      
</code></pre>

<p>I have Public Folder that has 25 PDF Files.</p>

<p>Using this </p>

<pre><code>List&lt;FileInfo&gt; files = Files.Take(10).ToList();
</code></pre>

<p>it will get the <strong>1 - 10 PDF</strong> and processed it. After processing the <strong>1 - 10 PDF</strong> when foreach loops again it take the same <strong>1 - 10 PDF</strong> not the <strong>11 - 20 PDF</strong>.</p>

<p>How can i get the Other PDF in List&lt;>?</p>

<p>Thank you in Advance!</p>