2015年1月13日

序列化和反序列化

摘要: using(FileStream filewrite =new FileStream (@"D:\log.txt",FileMode.Create)) //创建文件并准备写入 { BinaryFormatter binfor = new Bin... 阅读全文

posted @ 2015-01-13 09:37 ianism 阅读(139) 评论(0) 推荐(0) 编辑

封装多个集合在一个类中

摘要: public class UserData { List stulist = new List(); //实例化student类型的集合 public List Stulist //设置属性读取 { get { r... 阅读全文

posted @ 2015-01-13 09:15 ianism 阅读(1135) 评论(0) 推荐(0) 编辑

导航