In Unix world we have a command called 'touch' which when invoked on the file updates the timestamp of the file to the current timestamp. I just thought would share a quick implementation of the same in C# for the benefit of beginners in .NET. Check out the source implementation here.
Currently this supports only a single file.
Things to do:
- Recursive touch of files and folderswhen invoked on a directory. If you are interested to contribute let me know and I can add you as a co-member of the Sourceforge project.