My client gave me very diffrent requirement yesterday.
I have one folder at server where thousands of files are comming daily. He want me to write a logic to check dates of file. If files are there in folder from more than 3 business days (Mon to Friday) then he want me to delete those files
Example : If any file created in folder on Saturday then that file should delete on wednesday because inbetween we have Saturday and Sunday that should not count as business days.
My developemnt enviornment is c# .NET 3.5
I thought i should write custom method.
Please help me.