what opposite ways this
there cold sensitive comforts .net 3.5/c# 3.0, those comforts comes damn engaging ways accurate same line code.
using above staid apparatus set (and progression .net 2.0 stuff), opposite ways next formula dash graceful rewritten?
twine uploaddirectory = "c:\\some\\path\\";
(directory.exists(uploaddirectory)) {
string[] files = directory.getfiles(uploaddirectory);
foreach (string filename files) {
(file.getlastwritetime(filename).addhours(12) < datetime.now) {
file.delete(filename);
}
}
}
Comments
Post a Comment