C# 윈도우즈의 폴더 경로 가져오기
2010. 4. 19.
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Directory { class Program { static void Main(string[] args) { // 현재 디렉토리 string currentDir = Environment.CurrentDirectory; Console.WriteLine(currentDir); // 현재 로밍 사용자의 응용 프로그램 관련 데이터에 대한 공용 리포지토리로 사용되는 디렉토리 string appData = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData); Console...