Change template parameters,
...
SortedList<string, int> s1 = new SortedList<string, int>();
foreach (string k in Words)
{
if (s1.ContainsKey(k))
s1[k]++;
else
s1.Add(k, 1);
}
foreach (KeyValuePair<string, int> kvp in s1)
Response.Write(kvp.Key + " : " + kvp.Value);
...
__avd
Posting Genius (adatapost)
8,648 posts since Oct 2008
Reputation Points: 2,136
Solved Threads: 1,241