Please help with the lines of code I should be using.
I have the following code righ now:
foreach (DirectoryInfo folInfo in dir.GetDirectories())
Now what should I add there to avoid reading hidden folders?
Also I have the same thing for files:
foreach (FileInfo flInfo in folInfo.GetFiles())
How should I change it to only read not hidden files?