using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Study000
{
internal class
{
public void Main(string[] args)
{
App();
}
}
}
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Study000
{
//대리자의 형식정의
public delegate void Callback();
private int hp;
private int maxHp;
생성자
public class monster()
{
private int hp;
}
}
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Study000
{
public class App
{
//생성자
public App()
{
Monster monster = new Monster(10, this.MemberwiseClone);
monster.HitDamage(5);
monster.HitDamage(5);
}
}
}
코드 치는 속도가 느려서 못 따라감