早教吧 育儿知识 作业答案 考试题库 百科 知识分享

C#中label.Text+=String.Format(,)是怎么使用的,作用是什么?this.labID.Text+=String.Format("{0}",Config.Instance.AMData.ID);中+=是什么作用?

题目详情
C#中label.Text += String.Format(,)是怎么使用的,作用是什么?
this.lab_ID.Text += String.Format(" {0}",Config.Instance.AMData.ID);
中+=是什么作用?
▼优质解答
答案和解析
string s ="a";
s+="b";
s 最后就等于 ”ab" 字符串的 += 其实就是连接的意思