| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
- Tutorial
- 재귀
- loop
- Class
- Programming
- guide
- Unity
- Basic
- Material
- parameter
- Unreal Engine 5
- 문제풀이
- 파이썬
- dynamic
- DP
- W3Schools
- C#
- 백준
- dfs
- c++
- Algorithm
- 오류
- 시작해요 언리얼 2022
- w3school
- UE5
- String
- 프로그래밍
- 기초
- python
- github
- Today
- Total
목록C#/복습 (5)
행복한 개구리
튜플 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Test { class App { eGrade grade; enum eGrade { NORMAL, MAGIC, RARE, LEGENDARY, MYTHIC } public App() { Console.WriteLine("App 생성자 호출됨"); (int id, string name) item = (1, "사탕"); Console.WriteLine("{0} : {1}", item.id, item.name); Random rand = new Random(); int index = ..
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace Homework1234 { class App { public App() { Console.WriteLine("App"); Thread t; ThreadStart ts = new ThreadStart(() => { for (int i = 0; i < 10; i++) { Console.WriteLine("Hello~"); Thread.Sleep(500); } }); t = new Thread(ts); t.Start(); Thread t2 = n..
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Homework1234 { class Button { public Action onPress; public Button() { } public void Press() { this.onPress(); } } } using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Homework1234 { public class..
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Homework1234 { class App { public App() { Console.WriteLine("App"); ItemData data = new ItemData(1, "천 옷", eGrade.Rare); Item item = new Item(data); User user = new User(); user.StartCrafting(item); user.completeCrafting(); } } } using System; using System.Collections.Gen..
델리게이트1 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Homework1234 { class Program { static void Main(string[] frgs) { new Program().Test();//App클래스에선 Test에 에러뜸 } // 델리게이트 정의 delegate int MyDelegate(string s); void Test() { //델리게이트 객체 생성 MyDelegate m = new MyDelegate(StringToInt); //델리게이트 객체를 메서드로 전달 Run(m); } // 델리게이..