int count = 9;
MessageBox.Show("恭喜你,你猜对了,你一共猜了'"+count+"'次","提示!",MessageBoxButtons.OK,MessageBoxIcon.Information);
MessageBox.Show(string.format("恭喜你,你猜对了,你一共猜了{0}次","提示!",count),MessageBoxButtons.OK,MessageBoxIcon.Information);
"恭喜你,你猜对了,你一共猜了"+count+"次"