using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; namespace ConsoleApplication1 { interface ILogger { void WriteLog(string message); } class ConsoleLogger : ILogger { public void WriteLog(string message) { Console.WriteLine("{0} {1}", DateTime.Now.ToLocalTime(), message); } } class FileLogger : ILogger { private StreamWriter writer; public Fil..
package javaapplication23;import java.util.Random;public class JavaApplication23 { public static class WarSim { public static void main (String[] args) { Unit[] team1=new Unit[10]; Unit[] team2=new Unit[10]; //======================================================= team1[0]=new Warrior(); team1[1]=new Magicion(); team1[2]=new DarkM(); team1[3]=new Warrior(); team1[4]=new Magicion(); team1[5]=new..
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace WindowsFormsApplication2 { public class Animal { protected string Name; private int Level; private int maxLevel = 100; private int minLevel = 1; public string UpLevel() { string message; if (this.Level < this.maxLevel) message = (Level++).ToString; else message = "레벨을 증가시킬수없당"; return message; } publi..
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication3 { public class Animal { protected string Name; //필드 private int Level; //필드 private int maxLevel = 100 ; private int minLevel = 1; public void UpLevel() { if (this.Level < this.maxLevel) Level++; else Console.WriteLine("레벨을 증가할 수 없습니다."); } public void UpLevel(int Level) { if (this..
- Total
- Today
- Yesterday
- Asus
- 일본
- 아이폰X
- 라이언
- 윈도우즈 10
- ps4
- 구글
- 건담
- 고양이
- 안산
- 프로그래밍
- 피규어
- m5a97
- 마우스
- PS2
- 일본여행
- 노트북
- 프라모델
- AMD
- 디지몬
- 플스2
- 디지바이스
- 카카오프렌즈
- 애드센스
- razer
- 보스
- Windows 10
- 이어폰
- javascript
- 듀얼쇼크4
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |