2019年1月7日

摘要: 实现效果: 知识运用: DirectoryInfo类的Create方法 string对象的EndsWith方法 实现代码: 阅读全文

posted @ 2019-01-07 23:42 努力成长静待花开 阅读(128) 评论(0) 推荐(0)

摘要: 实现效果: 知识运用: Environment类的CurrentDirectory属性 //获取或设置当前工作目录的完全限定路径 public static string CurrentDirectory {get; set;} 实现代码: 阅读全文

posted @ 2019-01-07 23:00 努力成长静待花开 阅读(223) 评论(0) 推荐(0)

摘要: 实现效果: 知识运用: Application类的StartupPath属性 public static string StartupPath {get;} 实现代码: 阅读全文

posted @ 2019-01-07 22:49 努力成长静待花开 阅读(120) 评论(0) 推荐(0)

摘要: 实现效果: 知识运用: Path类的GetTempPath方法 public static string GetTempPath () 实现代码: 阅读全文

posted @ 2019-01-07 22:40 努力成长静待花开 阅读(240) 评论(0) 推荐(0)

摘要: 实现效果: 知识运用: DirectoryInfo类的CreationTion属性 public DataTime CreationTime {get; set;} 实现代码: 阅读全文

posted @ 2019-01-07 22:26 努力成长静待花开 阅读(612) 评论(0) 推荐(0)

摘要: 实现效果: 知识运用: FileStream 和BinaryReader 及BinaryWriter类 实现代码: 阅读全文

posted @ 2019-01-07 20:05 努力成长静待花开 阅读(494) 评论(0) 推荐(0)

摘要: 实现效果: 知识运用: FileStream BinaryReader类 //用特定的编码将基元数据类型读作二进制值 其构造函数主要使用UTF8Encoding初始化类实例 public BinaryReader(Stream input) BinaryReader类的ReadBytes方法 //从 阅读全文

posted @ 2019-01-07 18:53 努力成长静待花开 阅读(1111) 评论(0) 推荐(0)