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 ...