일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- Excel
- c#
- 파이썬
- matplotlib
- dataframe
- Mac
- GIT
- math
- Tkinter
- string
- PANDAS
- google apps script
- list
- Google Spreadsheet
- gas
- PostgreSQL
- Java
- SQL
- Google Excel
- django
- numpy
- Kotlin
- Redshift
- PySpark
- Apache
- hive
- Python
- Github
- array
- Today
- Total
목록C3 (2)
달나라 노트
MenuStrip은 Window에 Menu Bar를 추가할 수 있도록 해줍니다. 아래 코드를 봅시다. using System; using System.Windows.Forms; class MyProgram { public static void Main() { Form fm = new Form(); fm.Width = 500; fm.Height = 300; MenuStrip ms = new MenuStrip(); ms.Parent = fm; ToolStripMenuItem menu_1 = new ToolStripMenuItem("Fruits"); ToolStripMenuItem menu_1_1 = new ToolStripMenuItem("Apple"); ToolStripMenuItem menu_1_2 = ..
코드를 작성하다보면 빈번하게 보이는 키워드 중 하나인 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..