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 takes int values. The TextBox only accepts Strings. How do I type cast?
I need to show an integer value in a TextBox in my C# Windows
Share
Everything in .NET can be transformed to a string in one way or another by using the “ToString()” method.
Example