반응형
Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | 7 |
| 8 | 9 | 10 | 11 | 12 | 13 | 14 |
| 15 | 16 | 17 | 18 | 19 | 20 | 21 |
| 22 | 23 | 24 | 25 | 26 | 27 | 28 |
Tags
- Java
- 파이썬
- list
- Redshift
- string
- math
- Python
- Apache
- array
- c#
- Kotlin
- Tkinter
- matplotlib
- Presto
- SQL
- PySpark
- google apps script
- GIT
- Github
- Google Excel
- Google Spreadsheet
- PANDAS
- dataframe
- PostgreSQL
- gas
- Excel
- django
- hive
- numpy
Archives
- Today
- Total
목록CurrentDirectory (1)
달나라 노트
C# : CurrentDirectory (현재 directory)
System.Environment.CurrentDirectory 를 이용하면 현재 코드(또는 C# 코드로 생성된 exe파일)이 실행되는 directory를 얻을 수 있습니다. using System; class MyProgram { public static void Main() { Console.WriteLine(System.Environment.CurrentDirectory.ToString()); } } -- Result C:\Users\Documents\code_dir\cs\Project1\Project1\bin\Debug System.Environment.CurrentDirectory를 사용하면 위처럼 현재 코드가 실행되는 Directory 정보를 얻을 수 있습니다. Visual Studio에서 C..
C#/C#
2022. 4. 21. 03:29