C#C
C#3y ago
Itamar

❔ Hello I need some help with a recursion dirs & files tree in windows forms

I have the following function I can get the length (size of the current folder and show it )
but I need for each dir to enter the sub dir and also calc the size of them and not sure how to do it (Calc the files using length property),
so for every dir I need to calculate the whole dirs & files size sitting under it using rec
helpRec.png
Was this page helpful?