【发布时间】:2013-11-07 20:19:45
【问题描述】:
我试图发布无限数量的赞,但会根据数组中存储的 cookie 数量循环 cookie 和代理。显然 i++ 是无法访问的代码。这是什么原因?
public void PostLikes()
{
PostLike postLike = new PostLike();
for (int i =0;i<this.cookies.ToArray().Length;i++)
{
for (int j = 0; ; j++)
{
postLike.PostLike(this.cookies[i], this.importedProxies[i], this.proxyUsernameTextbox, this.proxyPasswordTextbox, this.postsIds[j]);
}
}
}
【问题讨论】:
-
cookies是什么类型? -
你为什么要把它标记为 C++ 和 Java?
标签: c# .net for-loop control-structure unreachable-code