I want to know how to get only hidden folder from String[]. Actually I have one string array and there show some files. There have normal and hidden files also but I want to try
Create FileInfo object for each file and the use its Directory property to get a DirectoryInfo instance on which you can check the Attributes property that will tell you if the directory is hidden.