title: WPF C# InputBox
body: <p>I am building a WPF application using C#. I want to pop out a dialog box to prompt the user to enter his/her name. After that, I will keep track of the name and save some data into a <code>.txt</code> file using the name.</p>
  <p><strong>For example:</strong></p>
  <p>Name input is<br>
  name = &quot;John&quot;</p>
  <p>And so I have data<br>
  data=&quot;1, 2, 3&quot;;</p>
  <p>and then I save the &quot;data&quot; in <code>John.txt</code> file.</p>
  <p>Does anyone know how to do it?</p>
  <p><strong>I think the problem is how to pop out a dialog for the user to enter name.</strong></p>