摘要: 实现一个自定义类型,支持迭代: 把peopel看成是List<person>或person[] class people:IEnumerable { private readonly Person[] persons; public people(Person[] ps) { persons=new 阅读全文
posted @ 2020-05-15 16:42 _MrZhu 阅读(119) 评论(0) 推荐(0)
摘要: using System; using System.Collections.Generic; using System.Data; using System.Data.SqlClient; using System.Linq; using System.Reflection; using Syst 阅读全文
posted @ 2020-05-15 15:19 _MrZhu 阅读(192) 评论(0) 推荐(0)