11 2021 档案
string 转Type
摘要:#region string 转Type /// <summary> /// string 转Type /// </summary> /// <param name="typeName"></param> /// <returns></returns> public Type GetEnumType 阅读全文
posted @ 2021-11-26 09:54 冰魂雪魄 阅读(459) 评论(0) 推荐(0)
操作xml node
该文被密码保护。
posted @ 2021-11-25 10:11 冰魂雪魄 阅读(0) 评论(0) 推荐(0)
C#获取枚举的描述
摘要:方法一: public static Dictionary<string, string> GetEnumDescription<T>() { Dictionary<string, string> dic = new Dictionary<string, string>(); FieldInfo[] 阅读全文
posted @ 2021-11-24 17:29 冰魂雪魄 阅读(445) 评论(0) 推荐(0)
C# XML 写入
摘要:写入内容为如图 写入xml文件方法 public void CreatXmlTree(string xmlPath) { XElement xElement = new XElement( new XElement("BookStore", new XElement("Book", new XEle 阅读全文
posted @ 2021-11-15 10:08 冰魂雪魄 阅读(496) 评论(0) 推荐(0)


WPF框架交流群:C#.net. WPF.core 技术交流�      C#WPF技术交流群:C#.net. WPF.core 技术交流�     WPF技术大牛交流群:C#.net. WPF.core 技术交流�