Thursday, May 30, 2013

Recursive function VB to C#

Why did you remove the DirectoryList parameter? It is essential to building the result for your recursion.


Try doing a straight line-by-line translation (except for that 'On Error Resume Next' - you should translate that into a try with an empty catch around the Directory.GetDirectories)




Paul Linton


No comments:

Post a Comment