随笔 - 148  文章 - 1  评论 - 15  阅读 - 30万
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 冰魂雪魄 阅读(436) 评论(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 冰魂雪魄 阅读(404) 评论(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 冰魂雪魄 阅读(468) 评论(0) 推荐(0) 编辑

< 2025年2月 >
26 27 28 29 30 31 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 1
2 3 4 5 6 7 8

WPF框架交流群:C#.net. WPF.core 技术交流�      C#WPF技术交流群:C#.net. WPF.core 技术交流�     WPF技术大牛交流群:C#.net. WPF.core 技术交流�
点击右上角即可分享
微信分享提示