getting user input via console in c#
- by every_answer_gets_a_point
i have this code in a button in a wpf in c#:
private void button1_Click(object sender, RoutedEventArgs e)
{
Console.Write("What is your name?: ");
Console.Write("Hello, {0}! ", Console.ReadLine());
Console.WriteLine("Welcome to the C# Station Tutorial!");
}
when i click the button, nothing happens. why doesn't the console appear?