C#- Getting user input for Age.. but receiving error?
<p>I am trying to make improve my programming and getting things drilled into my head so I'm just quickly developing an application that gets user's input and prints their name. But also gets their input for "Age verification". </p>

<p>I'm practicing IF &amp; ELSE statements as well as nesting classes.</p>

<p>However my compiler is shooting me an error and I just cannot seem to figure it out. I'm trying to get the user to input his age, and then proceed with the IF &amp; ELSE statement. </p>

<blockquote>
  <p>Compiler is shooting error that . ""Cannot implicitly convert type
  string to int"</p>
</blockquote>

<p>The only error in the program right now is the 
    myCharacter.age = Console.ReadLine();</p>

<pre><code>using System;

namespace csharptut
{
    class CharPrintName
    {
        static void Main()
        {
            Character myCharacter = new Character();

            Console.WriteLine("Please enter your name to continue: ");
            myCharacter.name = Console.ReadLine();

            Console.WriteLine("Hello {0}!", myCharacter.name);

            Console.WriteLine("Please enter your age for verification purposes: ");

            myCharacter.age = Console.ReadLine();

            if (myCharacter.age &lt;= 17)
            {
Console.WriteLine("I'm sorry {0}, you're too young to enter!",myCharacter.name);
            }
            else if (myCharacter.age &gt;= 18)
            {
                Console.WriteLine("You can enter!");
            }

        }
    }
    class Character
    {
        public string name;
        public int age;
    }
}
</code></pre>
