.Net Developers
This blog is to memorize my DotNet work which can help me and other developers
Pages
Home
Skill & Experience
Projects
Contact
PHP WordPress
Wednesday, August 5, 2009
How to Listing Files in a Directory with C#
DirectoryInfo dirInfo = new DirectoryInfo(ryanDataPath + "\\RyansData");
FileInfo[] latestFile = dirInfo.GetFiles("*.csv");
Here latestFile have all the files with .csv extension within RyansData folder
Related Posts:
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment