Tell me what text to enter and save it into a variable of type string, you can use a TextBox , and if I need to enter and save numeric values int or double , what should I do?
Is there a textbox for numeric values? ( int , double , etc.). One way to use a TextBox for int or double is to use Convert.ToDouble .
The question is whether there is a TextBox for int and double, or should TextBox + Convert.ToDouble be used?
There is also a question when entering a double value, if I suppose I put a period, for a comma, an error pops up, then I need to create a method that will process the string first, replace all points with commas and remove spaces, and only then convert or does the built-in method exist?