show int var to string c# code example
Example 1: c# int to string
static void Main()
{
int Value = 69 // integer
string ValueString = Value.ToString(); // integer to string
Console.WriteLine(ValueString); // string
}
Example 2: c# int to string
int n = 22;
string numberStr = n.ToString() "|OR|" string numberStr = Convert.toString(n);