I have a directory (network path) and it has around 3000 sub folders and each sub folder has 500+ files (some sub folders may have more than 2000 also).
When i was trying to get files count, iteration taking too long to complete. I am not finding any alternative way to over come this. I would like to know is there any alternative way to do this and get files count quickly, any solution if you can share with me, it would be soo greatful.
Code i am writing in C#, window forms.
Thanks in advance.