This snippet shows you how to get all PDF file names in your directory
and then how to iterate through this:
string pathName = @"D:\Data Sets\Enron";
string[] pdfFileNames = Directory.GetFiles(pathName, "*.pdf");
foreach(string pdfFileName in pdfFileNames)
{
ExtractTextFromPdf(pdfFileName);
}