Console Application Error "Index (zero based) must be greater than or equal to zero and less than the size of the argument list"
<p>STATIC VOID MAIN GOES HERE</p>

<pre><code>        string[] dayNames = { "Sun", "Mon", "Tues", "Wed", "Thur", "Fri", "Sat" };

        string m = "";

        double average = 0;
        double total = 0;

        int[] bCalories = new int[7];
        int[] lCalories = new int[7];
        int[] dCalories = new int[7];

        int[] dayTotal = new int[7];

        for (int i = 0; i &lt; 7; i++)
        {
            Console.Write("Please enter calories for {0} breakfast: ", dayNames[i]);
            bCalories[i] = int.Parse(Console.ReadLine());
            Console.Write("Please enter calories for {0} lunch: ", dayNames[i]);
            lCalories[i] = int.Parse(Console.ReadLine());
            Console.Write("Please enter calories for {0} dinner: ", dayNames[i]);
            dCalories[i] = int.Parse(Console.ReadLine());

            dayTotal[i] += bCalories[i];
            dayTotal[i] += lCalories[i];
            dayTotal[i] += dCalories[i];

            total += dayTotal[i];
            Console.WriteLine();
        }
        average = total /7;
        Console.Clear();
        Console.WriteLine("Day\t\tBreakfast\tLunch\tDinner\tDay Total");
        for (int i = 0; i &lt; 7; i++)
        {
            if (dayTotal[i] &gt; average)
            {
                 m = "*** Above Average";
            }
            else if(dayTotal[i] &lt;= average)
                 m = "";
</code></pre>

<p>I only recieve the error Index (zero based) must be greater than or equal to zero and less than the size of the argument list", after i add the string m to the writeline below. If i do not have the string m at the end of the statement then the program runs fine, its only when i add it that i get AN ERROR</p>

<pre><code>         Console.Write("{0}\t\t{1}\t\t{2}\t{3}\t{4}\t{5}\n", dayNames[i],
         bCalories[i], lCalories[i], dCalories[i], dayTotal[i] + m);
        }

        Console.Write("Average daily calories: {0}", average);
        Console.ReadLine();
    }
</code></pre>
