how get the date and time of the last modified particular TYPE file in that directory in c#

Posted by Arunachalam on Stack Overflow See other posts from Stack Overflow or by Arunachalam
Published on 2010-06-06T14:52:35Z Indexed on 2010/06/06 15:02 UTC
Read the original article Hit count: 490

Filed under:

how get the date and time of the last modified particular TYPE file in that directory

let me explain with an example

there are many files in directory say y:\tempfiles now i want to get the date and time of last modified file of txt format files like

9-03-2010 11.35 arun.reo 
9-03-2010 11.31 arun1.reo 
9-03-2010 11.31 arun.txt 
9-03-2010 11.31 arun.avi 

now i want the out put as 9-03-2010 11.35 which is last modified file for reo type files .

© Stack Overflow or respective owner

Related posts about c#