Answers for "get all text files in directory c#"

C#
0

get all files in all subdirectories c#

Directory.GetFiles(dirPath, "*", SearchOption.AllDirectories)
Posted by: Guest on December-23-2020
6

c# read all text from a file

using (StreamReader streamReader = new StreamReader(path_name, Encoding.UTF8))
{
  contents = streamReader.ReadToEnd();
}
Posted by: Guest on April-22-2020

Code answers related to "get all text files in directory c#"

C# Answers by Framework

Browse Popular Code Answers by Language