Answers for "c# get files of type in directory"

C#
2

c# get files of type in directory

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

get directory of file c#

using System.IO;

string file = "C:\Documents\file.txt";
Path.GetDirectoryName(file);
Posted by: Guest on December-03-2020

Code answers related to "c# get files of type in directory"

C# Answers by Framework

Browse Popular Code Answers by Language