how do i read the filenames inside the directory to an array
<p>(i am using C# windows application)
i want to read all the FileNames of a directory to an array.. how do i read that..</p>

<p>( suppose consider a directory with a names ROOT,ROOT2</p>

<p>Let     ROOT1 has a.txt,b.txt,c.txt</p>

<p>let     ROOT2 has x.txt,y.txt,z.txt</p>

<p>i just want to read those things to my array ...</p>

<p>what is the way to read that...?   ( or )  can you send me the code for that...?</p>
