turn int to string c# code example
Example 1: c sharp int to string
// Turn a integer into a string using 'ToString()'
int n = 3;
string number = n.ToString()
Example 2: c# convert int to string
string myString = myInt.ToString();
Example 3: c# int to string
int n = 22;
string numberStr = n.ToString() "|OR|" string numberStr = Convert.toString(n);