C# Dice Game (Windows Application Form) Multiple Issues
<p>Okay, so I'm having a number of issue with a tutorial question I'm working though so was hoping to get a bit of guidance as I'm very new to C# and not very good at it.</p>

<p>The scenario is this:
Write a program that simulates the rolling of two dice 1000 times. The program should count the number of double sixes rolled and also output the average score of the 1000 dice rolls. You do not need to display the results of each of the 1000 rolls and need only hit the “Run Simulation” button once per 100 rolls. The button and output should be suitably labelled.</p>

<p>Although the scenario says to roll 1000 times and also to roll 2 dice at one, at present, I'm only doing it 10 times and one dice roll until I can get it that bit right. Here is the code I've written so far:</p>

<pre><code>            using System;
            using System.Collections.Generic;
            using System.ComponentModel;
            using System.Data;
            using System.Drawing;
            using System.Linq;
            using System.Text;
            using System.Threading.Tasks;
            using System.Windows.Forms;

            namespace Dice_Roll_2___Advanced
            {
                public partial class Form1 : Form
                {
                    int roll;


                    int countDouble;
                    int countRoll;

                    int count;
                    int count2;

                    int average;
                    int doubleSix;


                    public Form1()
                    {
                        InitializeComponent();
                    }

                    private void Dice_Roll_Click(object sender, EventArgs e)
                    {
                        Random rnd = new Random();
                        for(count = 0; count &lt;1; count++)
                        {
                            for(count2 = 0; count2 &lt; 10; count2++)
                            {
                               roll = rnd.Next (6) + 1;
                               MessageBox.Show(roll.ToString());
                                if(roll &lt; 6)
                                {
                                    countRoll++;
                                }
                                else if(roll == 6)
                                {
                                    countDouble++;
                                }

                            }
                        }





                    }

                    private void Average_Click(object sender, EventArgs e)
                    {
                        average = (countRoll / 10);
                        Average.Text = average.ToString();
                    }

                    private void Doubles_Click(object sender, EventArgs e)
                    {
                        doubleSix = countDouble;
                        Doubles.Text = doubleSix.ToString();

                     }
</code></pre>

<p>Issue No.1</p>

<p>In the scenario, it says I have to output 100 numbers at once. As I'm only doing 10 at the moment, I wish to output 10 all at once. At present, that isn't happening. It gives me one number, I then click Ok, then it gives me the next number and so on. I believe this line in the code is the problem but not sure how to correct it.</p>

<p>MessageBox.Show(roll.ToString());</p>

<p>Issue No.2</p>

<p>The average does not work at all, it gives me a value of 0 every time. In my code you will see if wrote:</p>

<pre><code>                                if(roll &lt; 6)
                                {
                                    countRoll++;
                                }
                                else if(roll == 6)
                                {
                                    countDouble++;
                                }
</code></pre>

<p>then in the Label I wish to send the information:
average = (countRoll / 10);
                            Average.Text = average.ToString();</p>

<p>I know it's a lot of info but any help would be much appreciated.</p>