No need for a function (either in C# or VB.Net) simply use GetDirectories overload with a SearchOption set on AllDirectories or same thing with EnumerateDirectories for deferred lazy evaluation.
ref:
http://msdn.microsoft.com/en-us/library/ms143314.aspx
http://msdn.microsoft.com/en-us/library/dd383462.aspx
ref:
http://msdn.microsoft.com/en-us/library/ms143314.aspx
http://msdn.microsoft.com/en-us/library/dd383462.aspx
Forgive my writing, English isn't my native language.
No comments:
Post a Comment