怎样才能吧ListBox里的值提取 放到数组里啊我的老师说类型不能隐示的转换为什么啊string[]strthis.lstNew
怎样才能吧ListBox里的值提取 放到数组里啊
我的老师说 类型不能隐示的转换 为什么啊
string[]str = this.lstNewFile.Items;
[解决办法]
try
string[] str = new string[lstNewFile.Items.Count];
lstNewFile.Items.CopyTo(str,0);
