New programmer C# - How to add multiple numericUpDown values?
<p>I am making a program which needs to add the value of all numericUpDowns, and display it on the label.</p>

<p>numericUpDowns are created programatically and added to ArrayList.</p>

<pre><code>ArrayList numericUpDownMy = new ArrayList();
     numericUpDownMy.Add(new NumericUpDown());
        System.Drawing.Point h = new System.Drawing.Point(120, 275+ i * 19);          
        (numericUpDownMy[i] as NumericUpDown).Location = h;
        (numericUpDownMy[i] as NumericUpDown).Size = new System.Drawing.Size(50, 20);
        this.Controls.Add(numericUpDownMy[i] as NumericUpDown);
         int total = (((int)numericUpDown[0]) + ((int)numericUpDown[1]) + ((int)numericUpDown[2]) + ((int)numericUpDown[3]));
    labelScore.Text = total.ToString();
</code></pre>

<p>Obviously this doesn't work as I don't get the actual value of NumericUpDown. Any advice would be appreciated.</p>
