title: How to get a user input and print it in C#?
body: <p>I'm new to programming, was playing around with C# application...<br>
  What is wrong with my code?</p>
  
  <pre><code>private void button1_Click(object sender, EventArgs e)
  {
      String text = textBox1.Text;
      text = Console.ReadLine();
      Console.WriteLine(text);
      MessageBox.Show("hi"+ text);
  }
  </code></pre>
  
  <p>I'm just trying to get user input and print it in c# application. </p>