How to get both Folder & Files names from file directory?

Hi,

Directory.GetDirectories(Path) - I can do for each loop to get the folder names
Directory.GetFiles(Path) - I can do for each loop to get the files name

Is there ways where I can get both folder and files name from a folder? Thanks!

@emily
have a look here

3 Likes

Thanks @ppr!

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.