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

<p>let me explain with an example</p>

<p>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 </p>

<pre><code>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 
</code></pre>

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