C# Search for subdirectory (not for files)...

Posted by Brad on Stack Overflow See other posts from Stack Overflow or by Brad
Published on 2010-04-01T14:00:51Z Indexed on 2010/04/01 14:03 UTC
Read the original article Hit count: 175

Filed under:
|
|
|

Every example I see seems to be for recursively getting files in subdirectories uses files only. What I'm trying to do is search a folder for a particular subdirectory named "xxx" then save that path to a variable so I can use it for other things.

Is this possible without looping through all the directories and comparing by name?

© Stack Overflow or respective owner

Related posts about c#

Related posts about search