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