Console.Read is being ignored
<p>I'm new to the C# language, and have only started learning it for use on the XNA Game Studio for X-box.</p>

<p>I have some minor experience with Java and C++, so I'm not a TOTAL noob. That's exactly why this problem is so frustrating to me.</p>

<p>I have created a simple code designed to add two numbers input from the user. Extremely simple stuff, but a good first step for any new language I feel.</p>

<p>I've declared my variables, and was trying to use Console.Read() to get numbers from the user to add. So far, the code outputs the message I want, then stops and reads in a single input from the user. After that, it messes up. The console outputs the next message, reads some random number (no input), then adds them together and outputs that instantly.</p>

<p>Here is my code:</p>

<pre><code>using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Add
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("Please enter the first number to add: ");
            int firstNumber = Console.Read();

            Console.WriteLine("Please enter the second number to add: ");
            int secondNumber = Console.Read();

            int Sum = firstNumber + secondNumber;
            Console.WriteLine("The total of the two numbers is: " + Sum);

        }
    }
}
</code></pre>

<p>Sample runs:</p>

<p>Please enter the first number to add:</p>

<p>2</p>

<p>Please enter the second number to add:</p>

<p>The total of the two numbers is: 63</p>

<hr>

<p>Please enter the first number to add:</p>

<p>3</p>

<p>Please enter the second number to add:</p>

<p>The total of the two numbers is: 64</p>

<hr>

<p>It continues like that, acting as though the secondNumber is 61.</p>

<p>Thanks in advance for any help! </p>
