09 2022 档案

摘要:class Student { public string Id {get;set;} public string Name {get;set;} } List<Student> list = new List<Student>() list.add(new Student{Id=1,Name="名 阅读全文
posted @ 2022-09-30 17:27 yuezc97 阅读(22) 评论(0) 推荐(0)
摘要:static void Main() { Type p=this.GetType(); MethodInfo m=p.GetMethod("方法名"); m.Invkoe(this,null) } } 阅读全文
posted @ 2022-09-05 17:44 yuezc97 阅读(12) 评论(0) 推荐(0)