摘要: 本方法经过了测试和使用,效率很高,但是使用起来也有限制。 using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Text; usin 阅读全文
posted @ 2019-11-06 18:28 一条袜子 阅读(188) 评论(0) 推荐(0) 编辑
摘要: 该方法没有经过测试。 using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Security.Cryptography; using System.Text; 阅读全文
posted @ 2019-11-06 18:25 一条袜子 阅读(245) 评论(0) 推荐(0) 编辑
摘要: 该方法经过测试,并应用到项目了。 using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Security.Cryptography; using System. 阅读全文
posted @ 2019-11-06 18:22 一条袜子 阅读(304) 评论(0) 推荐(0) 编辑
摘要: 001-集合中的元素,用某个字符串连起来 还可以只把复杂类型的List中的某个字段/属性连接 有一个数据结构 public class Student { public int ID { get; set; } public string Name { get; set; } } List<int> 阅读全文
posted @ 2019-11-06 17:57 一条袜子 阅读(172) 评论(0) 推荐(0) 编辑
摘要: 001-合并两个集合 List<int> listA = new List<int> { 1, 2, 3, 4, 5, 7, 9 }; List<int> listB = new List<int> { 17, 4, 13, 9, 2 }; List<int> Result1 = listA.Uni 阅读全文
posted @ 2019-11-06 17:38 一条袜子 阅读(591) 评论(0) 推荐(0) 编辑