05 2016 档案
摘要:/// /// 卡卷类型 /// public enum CardTypeEnum { 代金券 = 1, 优惠卷 = 2 } foreach (int myCode in Enum.GetValues(typeof(CardTypeEnum))) { string strName = Enum.GetName(typeof(CardTypeEnum), m...
阅读全文
摘要:toDecimal2: function (x) { var f = parseFloat(x); if (isNaN(f)) { return false; } var f = Math.round(x * 100) / 100; var s ...
阅读全文
摘要:例子:[1,2,3] 结果:[1,2] ,[1,3],[2,3]
阅读全文
摘要:List> list = new List>() { new List() { "a", "b", "c" }, new List() { "A", "B" }, new List() { "1", "2" } }; var array = list.Aggregate((m, n) => m.SelectMany(t1 => n.Select(t2 => t1 + t2).ToList())....
阅读全文