private void button1_Click(object sender, System.EventArgs e) { for (int x = 0; x < 100; x++) { RemotingObject.Class1 c1 = new RemotingObject.Class1(); listBox1.Items.Add("Return " + x.ToString() + "=" + c1.HelloWorld()); } }
private void button1_Click(object sender, System.EventArgs e) { for (int x=0;x<100;x++) { RemotingObject.Class1 c1=new RemotingObject.Class1(); listBox1.Items.Add("Return "+x.ToString()+"="+c1.HelloWorld()); } }