Ejemplo n.º 1
0
    public void Process()
    {
        int min = WeekScore.Keys.Min();
        int max = WeekScore.Keys.Max();

        for (int i = 0; i < min; i++)
        {
            WeekScore.Add(i, 0);
        }

        for (int i = min + 1; i < max; i++)
        {
            if (!WeekScore.ContainsKey(i))
            {
                WeekScore.Add(i, -1);
            }
        }
    }