好的,我得到了以下代码,但它不起作用
我希望行是键,值是 0
时间:4.5
ConcurrentDictionary<string, int> dicFailedProxies =
new ConcurrentDictionary<string, int>();
dicFailedProxies = File.ReadAllLines("failed_proxies.txt")
.Select(line => line).Distinct()
.ToDictionary(values => values, 0);