.NET

List files in a directory using C#

.NET comes with many classes that make accomplishing almost any task quite easy. In below program I will present how easy is to retrieve a list of files in a directory using DirectoryInfo and FileInfo classes.