Hi,

I'm trying to get this code to give me the text value of the randmized number.
If the random number is 3, I want it to ask question q3. It is giving me just the random number in the qBox.Text and not the question itself. The answer is more than likely simple and I'm missing it right in my face.


Code:
  public partial class BSQ1 : Form
    {
        public BSQ1()
        {
            InitializeComponent();
        }
        private int RandomNumber(int min, int max)
        {
            Random random = new Random();
            return random.Next(min, max);
        }
        string PickedQ;

        string q1 = "HOW MANY DAYS DID JONAH SPEND IN THE FISH?";
        string q2 = "WHAT DID DAVID KILL GOLIATH WITH?";
        string q3 = "WHO HAVE SINNED?";
        string q4 = "WHAT ARE THE WAGES OF SIN?";
            // Questions continue down to 
        string q1212 = "WHO WAS THE FATHER OF NOAH?";

        private void button1_Click(object sender, EventArgs e)
        {
            this.Close();
        }

        private void button3_Click(object sender, EventArgs e)
        {
            qBox.Text = "";
            ans1Box.Text = "";
            ans2Box.Text = "";
            ans3Box.Text = "";
            ans4Box.Text = "";

            ans1Box.Checked = false;
            ans2Box.Checked = false;
            ans3Box.Checked = false;
            ans4Box.Checked = false;
                        
            int randQ = RandomNumber(1, 1212);  // Randomize a number from 1 to 1,212

            label6.Text = "Question #" + randQ.ToString();
                          
            PickedQ ="q" + randQ;
            PickedQ.ToString();
            qBox.Text = PickedQ;            
              
        }
    }