convert to string in c# code example
Example 1: c# convert int to string
string myString = myInt.ToString();
Example 2: c# int to string
int n = 22;
string numberStr = n.ToString() "|OR|" string numberStr = Convert.toString(n);
Example 3: C# converting to string examples
string onverting
Example 4: c# can conver string to string[]
String foo = "Foo"; // one instance of String
String[] foos = new String[] { "Foo1", "Foo2", "Foo3" };
String firstFoo = foos[0]; // "Foo1"