반응형
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 | 29 | 30 | 31 |
Tags
- Google Excel
- array
- SQL
- dataframe
- hive
- list
- Apache
- Kotlin
- math
- numpy
- PANDAS
- PostgreSQL
- Github
- Google Spreadsheet
- Java
- gas
- Mac
- 파이썬
- google apps script
- c#
- Python
- GIT
- django
- matplotlib
- Excel
- string
- PySpark
- Redshift
- Tkinter
Archives
- Today
- Total
목록static (2)
달나라 노트
C# : static (정적 데이터)
코드를 작성하다보면 빈번하게 보이는 키워드 중 하나인 static이라는 키워드가 있습니다. 아래 예시를 보시죠. 아래 코드에 대한 정확한 의미는 차차 풀어나갈 것이니 일단 static이라는 키워드가 어디에 있는지 봅시다. using System; class Monster { public int hp = 0; public int mp = 0; public static int call_count = 0; public Monster() { hp = hp + 100; mp = mp + 100; call_count = call_count + 1; } public void show_call_count() { Console.WriteLine("Call count = " + call_count); } } class M..
C#/C#
2022. 3. 29. 19:20