[Solved] Getting Nth sub-directory’s files from an input path
here is the solution i have done . and its working . foreach(var dir in Input_Folders) { string f = dir; for (int i = 0; i <= n; i++) { string path = sub_dir(f); f = path; } } n is the nth child and the method sub_dir(string) is public string sub_dir(string path) { … Read more