为什么在标签中不显示
程序代码:
private void button1_Click(object sender, EventArgs e) { for (int n=1;n<100;n++) { for (int h = 1; h <= 9999; h++) { double j = 4 * h * Math.Pow(10, n) + 24; double k = 6 * Math.Pow(10, n) + h * Math.Pow(10, (n - 1)); if (j == k) { label1.Text += h.ToString (); label1.Text += " "; } } } } } }