摘要:
static void Test9() { var strs = new List { "192.168.100.125", "192.168.100.126", "192.168.100.127", ... 阅读全文
posted @ 2019-01-25 15:19
刘小吉
阅读(1134)
评论(0)
推荐(0)
摘要:
static void Test7() { var strs = new List { "192.168.100.125", "192.168.100.126", "192.168.100.127", ... 阅读全文
posted @ 2019-01-25 15:14
刘小吉
阅读(223)
评论(0)
推荐(0)
摘要:
public class WeightedRandom { /// /// 带权重的随机 /// /// 原始列表 /// 随机抽取条数 /// public static T GetRand... 阅读全文
posted @ 2019-01-25 14:48
刘小吉
阅读(2341)
评论(0)
推荐(0)
摘要:
static void Test1() { var sv = new ServerConfig[] { new ServerConfig{Name="A", Weight = 4}, new ServerConfig{Name="B", Weight = 2}, ... 阅读全文
posted @ 2019-01-25 11:55
刘小吉
阅读(1808)
评论(0)
推荐(0)

浙公网安备 33010602011771号