C# - Delete files older than N number of Days/Months in a directory

In this post, I will share C# code to delete files from specific directory, with the condition that only files which are older than N number of Days or Month or any other time unit. Why I come to this code because recently we faced this problem because of not deleting the older files.
Posted by: Muhammad Idrees
On 26 Jul 2017 | Views: 224 | Categories: Win Forms, Tips & Tricks, Other, C#

Post your comments


Other lins

.Net Techies
Other lins