Posted on: 9/9/2013 7:36:27 PM | Views : 574

I have the following:
public class DirectoryName {
   public string directoryName {get;set;}    List<FileName> filenames = new List <FileName>(); }
public class FileName {   public string filename { get ; set;} }
while ((line = file.ReadLine() != null) {     if (Contains(Directory RDD")) {     array.Add(new DirectorName() {directoryname = line});
}
if (!Contain Blank or "Total of")
  add line file name to directory.
}
 
...

Go to the complete details ...