C#中如何获取两个listBox中的items的项目数,代码怎么写?是两个listBox之和?

2025-05-16 20:43:37
推荐回答(2个)
回答1:

就是这样咯

回答2:

listBox1.Items.Count+listBox2.Items.Count