Created
June 13, 2017 08:04
-
-
Save megatontech/addaa23a9e521ed7300020c9ba4ac474 to your computer and use it in GitHub Desktop.
list 内部字段分割求和并排序
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tempList.ForEach(x => x.Sort = (Array.ConvertAll<string,int>(x.DayOfStayDays.Split(','),delegate(string s){ return ConvertVal.GetValInt(s); }).Sum())); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment