Answers for "get list of files from path c#"

C#
2

c# get files of type in directory

string[] files = System.IO.Directory.EnumerateFiles(directory, "*.*").ToArray();
Posted by: Guest on April-24-2021
3

asp.net list all files in folder

string[] allfiles = Directory.GetFiles("path/to/dir", "*.*", SearchOption.AllDirectories);
Posted by: Guest on May-05-2020

Code answers related to "get list of files from path c#"

C# Answers by Framework

Browse Popular Code Answers by Language