fastest way to search and delete files inside a directory
<p>I've got a array of class in which one member is the full path to a file. I need to delete all those files from the directory which is not included in the array. As Usual, I am using the convential compare and delete method. I need to know if there any fast way to accomplish this. 
I heard it can be done using  Linq, but i dont have knowledge on linq.</p>

<p>My class struct is like below.</p>

<pre><code>Class ImageDetails
{

public string Title;

public Boolean CanShow;

public String PathToFile;
}
</code></pre>

<p>I have an array of ImageDetails. The PathToFile contains full path</p>

<p>}</p>
