c# - Method to get all files within folder and subfolders that will return a list - Stack Overflow

PHOTO EMBED

Mon Feb 27 2023 05:14:09 GMT+0000 (Coordinated Universal Time)

Saved by @javicinhio #cs

 Directory.GetFiles(dirPath, "*", SearchOption.AllDirectories)
content_copyCOPY

https://stackoverflow.com/questions/14305581/method-to-get-all-files-within-folder-and-subfolders-that-will-return-a-list