首页 > 题库 > 学历提升 > 自学考试 > 自考本科 > 案例题

有程序段如下:
private void Form1_ Load(object sender, EventArgs e)
{
listBox1.Items.Clear();
for (int i= 1;i<= 5; i++)
listBox1.Items.Add(2*i-1).ToString());
}
private void button1_Click(object sender, EventArgs e)
{
int i; 
textBox1.Text= "";
for(i=0;i < listBox1.Items.Count; i++)
textBox1.Text += listBox1.Items[i];
}
程序运行后,单击窗口中的button1按钮,在文本框textBox1中显示的内容是            


参考答案: 查看答案 查看解析 下载APP畅快刷题

相关知识点试题

相关试卷