¡@

Home 

c# Programming Glossary: dirsep

How to implement glob in C#

http://stackoverflow.com/questions/398518/how-to-implement-glob-in-c-sharp

string glob foreach string path in Glob PathHead glob DirSep PathTail glob yield return path summary uses 'head' and 'tail'.. yield return path summary shortcut summary static char DirSep Path.DirectorySeparatorChar summary return the first element.. see if this blows up I don't think so if path.StartsWith DirSep DirSep return path.Substring 0 2 path.Substring 2 .Split DirSep..