Hello, I ask for help.

The form has two components TextBox1 and Button. In TextBox1, I enter a number and when I click on the Button, it must calculate the sine of the entered number and place it in TextBox1. Erasing the number that I entered. How to organize this in Visual Studio? C # writing language (C sharp)

  • one
    And what language? - Barmaley

1 answer 1

Hm In the button click handler, write about the following code:

TextBox1.Text = Math.Sin(Convert.ToDouble(TextBox1.Text));