title: xamarin convert entry text to numeric value
body: <p>I'm new user of Xamarin studio 5.9.5 (build 9) on Windows, and I want make a form based application that involves some mathematical calculations (.Net + Gtk#).</p>
  
  <p>I made a simple form containing 3 Entry widgets (2 for input values and 1 for output value) and 1 button. Here is the code for the button (simple addition Entry3 = Entry1 + Entry2)</p>
  
  <pre><code>using System;
  using Gtk;
  ...    
  protected void OnBtnClicked (object sender, EventArgs e)
          {
              entry3.Text = entry1.Text + entry2.Text;
              //throw new NotImplementedException ();
          }
  </code></pre>
  
  <p>As you can see, this code just makes a concatenation of both text fields.</p>
  
  <p>How can I convert the text fields into numeric values in order to achieve mathematical addition (and other calculations) ?</p>
  
  <p>Thanks </p>