示例#1
0
        public StatCollection GetTop(int count)
        {
            Sort();

            StatCollection col = new StatCollection();
            int max = count>10?10:Count;

            for(int i=0; i<max; i++)
                col.Add( this[i] );

            return col;
        }
示例#2
0
 public void Add(string channelname, StatCollection collection)
 {
     Dictionary.Add(channelname, collection);
 }