1
Answer

translate from linq to something .net2.0

Jeremy

Jeremy

13y
1.4k
1
var folders = from o in Directory.GetDirectories(HttpContext.Current.Server.MapPath(parentNode.Key))
              let dir = new DirectoryInfo(o)
              where !Regex.Match(dir.Name, ExcludedFolders).Success
              select new
                  {
                    DirectoryName = dir.Name
                    };
I need to be able to write this in something .net2.0 friendly. I am not familiar with linq to be able write this another way.
Any help is appreciated...
Answers (1)