阅读背景:

在多个.NET集合中传播项目

来源:互联网 

I am using VS 2015 to write a windows form application in C sharp. In this application, I have a string collection (List) that contain the names of multiple sport teams. I want to divide these sport teams into several groups. The number of groups that will be created are based on the number of sport teams in my string collection. For example, if I have less than 8 teams, I will spread the teams over two groups. My problem is that I cannot find a way to divide my items in my string collection over two new string collections. Underlying code shows that I can create on group and adding the string items but making two groups and spreading the items over these two new string collections is a problem for me. Feel free to give me some tips or help :I am using VS 2015 to write a windows form appl




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: