title: Best way to get the value from a tuple in C#
body: <p>Below is my code</p>
  
  <pre><code>public Tuple&lt;string, string&gt; GetMultipleValue()
  {
      frmKbCPT mFrmKbCpt = new frmKbCPT();
      mFrmKbCpt.MaximizeBox = false;
      mFrmKbCpt.Height = 600;
      mFrmKbCpt.Width = 800;
  
      mFrmKbCpt.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
      mFrmKbCpt.ShowDialog();
      string cptrate = mFrmKbCpt.txtRate.Text;
      string mStr = mFrmKbCpt.txtCode.Text;
      mFrmKbCpt.Dispose();
  
      return Tuple.Create(cptrate, mStr);
  }
  </code></pre>
  
  <p>In the button if I want to populate the two textboxes I do this</p>
  
  <pre><code>Tuple&lt;string, string&gt; getvalue = new Tuple&lt;string, string&gt;(GetMultipleValue().Item1, GetMultipleValue().Item2);
  
  txtCPT1.Text = getvalue.Item1;
  txtCpt1Prate_opdamt.Text = getvalue.Item2;
  </code></pre>
  
  <p>My problem is that it show my form  frmKbCPT twice. Is there a way to get the tuple item2 without repeating again the function GetMultipleValue()? Thanks and more power!</p>