C Sharp Problem May I have some help?

beverly

New member
Whenever I try to debug a simple input output program, it won't work! This is the code


using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Behind_Blue_Eyes
{
class Program
{
public static void Main()
{
Console.WriteLine("What's your name?");
Console.ReadLine();

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

When I try to debug, I get "What's your name?" Than I put in my input, and get this!
"Hello!" What am I doing wrong?
 
Back
Top