txt.text = x.ToString();//X int 类型转换为String类型 来源:https://www.cnblogs.com/wayne1984/p/11734533.html 标签 类型转换