📅  最后修改于: 2022-03-11 14:49:00.861000             🧑  作者: Mango
int a = 1039;
int b = 7056;
int newNumber = int.Parse(a.ToString() + b.ToString());
//Or
int newNumber = Convert.ToInt32(string.Format("{0}{1}", a, b));