forum

Home / DeveloperSection / Forums / How can I read all files in a directory to an array using C#?

How can I read all files in a directory to an array using C#?

Lady Bird Johnson215205-Oct-2013

I have a folder D:\MyDirectory that is full of tab-delimited text files, but the number of files is unknown at any given time. How Can  I read and store the names of the text files in the MyDirectory directory into an array?


Updated on 05-Oct-2013

Can you answer this question?


Answer

1 Answers

Liked By