[C#] 특정 폴더의 파일 목록을 가져오기 using System.IO;if (Directory.Exists(path)){ foreach (string f in Directory.GetFiles(path)) { // 리스트 박스나 기타 다른 반복된 작업 수행 }} 위에서 파일 경로는 path에 지정하면 됨 foreach 문에서 반복적으로 파일경로+파일명+파일확장자를 가져와서 처리할 수 있음 Study/Programming 2010.08.12