if (hash.Count > 0)
{//hash 不为空
foreach (Object key in hash.Keys)//遍历hash
{
strParameters.AppendFormat("{0}={1}&", key, hash[key]);
}
}
if (hash.Count > 0)
{//hash 不为空
foreach (Object key in hash.Keys)//遍历hash
{
strParameters.AppendFormat("{0}={1}&", key, hash[key]);
}
}