- 博客(7)
- 收藏
- 关注
原创 C#学习日记 List排序
class Monster { public int hp; public int atk; public int def; public Monster(int hp,int atk,int def) { this.hp = hp; this.atk = atk; this.def = def; } public ...
2022-05-06 19:26:59
127
原创 C#学习日记:事件
class Hoter { public event Action<int> dian;//声明一个事件 public int WaterT = 0;//水温 public void Addhot()//方法:水温开始隔一段时间加热 { int count = 0; while (true) { if (count%99...
2022-05-06 15:15:00
331
原创 c#学习日记:Hashtable
手打作业:class Program { //怪兽管理器,提供创建怪物,移除怪物的方法,每个怪物有自己的唯一ID; static void Main(string[] args) { MonsterManager.Instance.AddMonster(); MonsterManager.Instance.AddMonster(); MonsterManager.Instance...
2022-04-25 21:01:48
112
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人