![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C Sharp
xsophiax
这个作者很懒,什么都没留下…
展开
-
C#学习笔记之INI文件处理
在使用C#时有些时候要存储一些信息,会使用到INI配置文件。using System.Runtime.InteropServices;1. 源码namespace HCIUtilsLog{ class ZGIniFile { private string iniPath; [DllImport("kernel32")] ...原创 2019-05-17 17:15:51 · 269 阅读 · 0 评论 -
C#学习笔记之LOG文件存储
在有些小项目中,要使用到存储LOG信息(纯文本的);此处选用streamwriter示例:1.库using System.IO;2. 源码namespace HCIUtilsLog{ class ZGLogMessage { System.IO.StreamWriter fs = null; public void initL...原创 2019-05-17 17:25:14 · 646 阅读 · 0 评论