C#/과제(11)
-
레시피 관리 및 요리하기
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 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Study_011 { class Recipe { public string name; // 레시피 이름 public string[] arrFoodIngredientNames; // 레시피 재료 목록 public Recipe(string name, string[] arrFoodIngredientNames) { this.name = name; this.arrFoodIngr..
2020.04.20 -
인벤토리
1) 인벤토리 정리 - CleanUp() 메소드 2) 인벤토리에서 아이템 추출 - GetItem() 메소드 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 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 using System; using System.Collections.Generic; using System.L..
2020.04.14 -
캐릭터간 대전
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 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Study_007 { class App { public App() { Character hong = new Character("홍길동..
2020.04.10 -
2020-04-03
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Study_002 { class Copy { public Copy() { for (int i = 0; i
2020.04.03 -
2020-04-02 과제
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 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Study_001 { class App { public App() { //Console.WriteLine("Hello World"); //int a = 5; //Console.WriteLine(a); //fl..
2020.04.02