C# Noob Looking for Little Help : Why this mini code doesnt works?
<p>I am very very new at C# and i am just trying a little code here. </p>

<p>But it didn't work. I don't understand why. And i dont get any erros on Visual Studio.
It just doesn't work right. I alwasy says " You wrote a higher number. " and close.</p>

<p>Can you help me?</p>

<p>You can understand what i am trying to do.</p>

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

namespace ConsoleApplication1
{
    class Program
    {
        static void Main(string[] args)
        {
            int number = 4 ;

            Console.WriteLine("Hello");
            Console.WriteLine("Write a number from 1 to 10 : ");

            int x = Console.Read();

            if ( x &lt; number )
                Console.WriteLine("You write a lower number.");
            else if ( x &gt; number )
                Console.WriteLine("You write a higher number.");
            else
                Console.WriteLine("True");

            Console.Read();
        }
    }
}
</code></pre>
