I need to show an integer value in a TextBox in my C# Windows Forms application (GUI). I have an int32 value available. I could not find a container like a TextBox that take
You can use the ToString() method to convert the integer to a string.
int x = 10;
Console.WriteLine(x.ToString())