Get files from a directory – C#/C Sharp By Malik | April 25, 2011 1 Comment Hi, Sometimes you may need to get the files from a specified directory using C# / C Sharp. See the sample code on how it works. This code will get you files from the root directory. 🙂