且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

方法'add'的重载在C#中没有2个参数错误

更新时间:2023-02-14 18:15:49

您可以这样做:
You could do it like this:
listBox1.Items.Add(i + " " + j);

如果您需要实列,请使用 ListView ,请参见此处的示例: ^ ]

If you need real columns, then use a ListView, see example here: .net - Populating a listview multi-column - Stack Overflow[^]