3
Reply

C# code to find PDF file and move into a Directory

Ask a question
Bineesh  VP

Bineesh VP

8 years ago
319
1
Sir,
 
I am in a ADO.NET Project to find existing pdf file in a directory and move into a new path. I have done almost code but stuck in a code to filter files that have extension of .pdf.
 
Please provide me the code to filter only pdf files
 
Here the c# code I wrote:-
 
In this code I wrote  a existing file name in order to test. 
 
 
 
 
 

Answers (3)