Bineesh  Viswanath

Bineesh Viswanath

  • NA
  • 1k
  • 776.2k

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

Jul 7 2016 2:35 AM
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)