Dictionary<string, int> colStates = new Dictionary<string,int>();
int OtherCount = 0;
foreach(string key in colStates.Keys)
{
double Percent = colStates[key] / TotalCount;
if (Percent < 0.05)
{
OtherCount += colStates[key];
colStates[key] = 0;
}
}
colStates.Add("Other", OtherCount);
|
Check Page Rank of your Web site pages instantly: |
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment