Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

read folder c#


using System.IO;
...
foreach (string file in Directory.EnumerateFiles(folderPath, "*.xml"))
{
    string contents = File.ReadAllText(file);
}

Source by nullorempty.org #
 
PREVIOUS NEXT
Tagged: #read #folder
ADD COMMENT
Topic
Name
3+3 =