using System;

namespace learning_csharp
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("Hello there, I am RX-530, a robot. What is your name?");
            string name = Console.ReadLine(); // Get the name.

            Console.WriteLine("Oh, hello there " + name + ", how are you?");
            Console.ReadLine();

            Console.WriteLine("So how old are you? I am 23 years old.");
            int age = Convert.ToInt32(Console.ReadLine()); // Get the age.

            Console.WriteLine("Oh, that's nice. What's your favorite letter? Mine is 'k'");
            char favLetter = Convert.ToChar(Console.Read()); // Get the favorite letter.
            Console.WriteLine("Oh, lovely. I have to go now, bye."); // Say goodbye.
            Console.Write("Press any key to continue...");
            
            // Reads a key from the console before exiting.
            Console.ReadKey();
        }
    }
}