如此这般:
int num = 100 ;
string s ;
s = num.ToString();
///////////反过来
string s ="1234";
int num ;
num = Int32.parse(s);