Loading

摘要: 把一个int数组转换成一个字符串,数组元素用 “,” 隔开,可以使用string.join函数。使用如下: 1 var list = new List<int>() { 1, 2, 3, 4, 5 }; 2 Console.WriteLine(string.Join(",", list)); 3 4 阅读全文
posted @ 2020-07-22 17:06 Dwaynerbing 阅读(2488) 评论(0) 推荐(0) 编辑
摘要: class LunisolarCalendaUtil { ///<summary> /// 十天干 ///</summary> private static string[] tg = { "甲", "乙", "丙", "丁", "戊", "己", "庚", "辛", "壬", "癸" }; /// 阅读全文
posted @ 2020-07-22 14:59 Dwaynerbing 阅读(621) 评论(0) 推荐(0) 编辑