Answers for "write a program in c# to display all subfolders and file names in a particular folder"

C#
0

how to get all files from folder and subfolders in c#

public static List<String> GetAllFiles(String directory)
        {
            return Directory.GetFiles(directory, "*", SearchOption.AllDirectories).ToList();
        }
Posted by: Guest on February-22-2022

Code answers related to "write a program in c# to display all subfolders and file names in a particular folder"

C# Answers by Framework

Browse Popular Code Answers by Language