Saturday, June 1, 2013

Get List of all files From Folder C#

string fullpath="Full path";


DirectoryInfo dirInfo = new DirectoryInfo(fullpath);
FileInfo[] fileInfo = dirInfo.GetFiles("*.*", SearchOption.AllDirectories);

No comments:

Post a Comment

Opps Part 1 : Abstraction

  Abstraction in C# is a fundamental concept of object-oriented programming (OOP) that allows developers t...