.Net Tips, C# Tips : Get list of all files of directory or folder using LINQ using .Net Framework 4 with C# Examples and VB.Net Examples
7 views
Skip to first unread message
Jayesh Sorathia
unread,
Jul 27, 2012, 3:13:22 AM7/27/12
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
You can get list of all files in particular directory or folder and it's all sub directories.
.NET Framework 4 allow to enumerate directories and files using methods that returns enumerable collections. There is a also a methods of get enumerable collections for DirectoryInfo , FileSystemInfo and FileInfo objects.