using System;
using System.IO;
namespace get_all_files
{
class Program
{
static void Main(string[] args)
{
// All files from directory "C:File"
string[] files = Directory.GetFiles(@"C:File");
foreach (var file in files)
{
Console.WriteLine(file);
}
}
}
}