Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Linq Query How To
Message
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Title:
Linq Query How To
Miscellaneous
Thread ID:
01481379
Message ID:
01481379
Views:
113
I want to load a list with a list of file names in a folder that have not already been selected:
private void _LoadFileList(List<string> CurrentFiles)
{
    string RootLocation = Properties.Settings.Default["RootFolder"].ToString();
    string[] FileNames = Directory.GetFiles(RootLocation);



}
The list CurrentFiles has the list of files already selected. I would like to now use Linq to query the FileNames array to pull those file names not in the CurrentFiles list.

I'm not sure how to code the Linq query and could use some help.
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Next
Reply
Map
View

Click here to load this message in the networking platform