How do I convert a string to an double or int?

Platform: WinForms|Category: Strings

One way is to use static members of the Convert class in the System namespace.

		textBoxResult.Text = Convert.ToString(Convert.ToDouble(textBox1.Text) * Convert.ToDouble(textBox2.Text));