2021年9月8日

C#Array,List,Dictionary的相互转换

摘要: 本篇文章会向大家实例讲述以下内容: 将Array转换为List 将List转换为Array 将Array转换为Dictionary 将Dictionary转换为Array 将List转换为Dictionary 将Dictionary转换为List 首先这里定义了一个“Student”的类,它有三个自 阅读全文

posted @ 2021-09-08 16:03 jack_Meng 阅读(992) 评论(0) 推荐(0)

AutoMapper之集合和数组映射

摘要: 9.集合和数组映射 在项目中,集合和数组使用的很多的,继续下来就讲讲他们的映射,很简单。 /// <summary> /// 源对象 /// </summary> public class Source { public int Value { get; set; } public string T 阅读全文

posted @ 2021-09-08 11:23 jack_Meng 阅读(880) 评论(0) 推荐(0)

导航