I want to exclude folder name '.svn" while using the GetDirectories method
DirectoryInfo[] dirs = dir.GetDirectories();
I read somewhere that searchPattern parameter for GetDirectories can support only ? and * wildcards and won't support any other regular expression.
I wanted to populate all the folders except ".svn" folder(for example) using DirectoryInfo[] dirs. Is this possible? If not, what are the other alternatives I have?