摘要: /// <summary> /// 以枚举名称为Section,枚举值为Key的ini配置文件的读写 /// </summary> public class IniFileOperate : IniRW { protected Dictionary<object, string> _DefaultP 阅读全文
posted @ 2019-11-08 17:04 Bridgebug 阅读(212) 评论(0) 推荐(0)
摘要: 1.对ini文件进行序列化和反序列化 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Reflection; public class IniDese 阅读全文
posted @ 2019-11-08 17:00 Bridgebug 阅读(452) 评论(0) 推荐(0)
摘要: /// <summary> /// 根据条件删除字典中所有符合的键值对 /// </summary> /// <returns></returns> public static int RemoveAll<TKey, TValue>(this IDictionary<TKey, TValue> so 阅读全文
posted @ 2019-11-08 16:48 Bridgebug 阅读(303) 评论(0) 推荐(0)