日期:2014-05-19  浏览次数:20750 次

怎样才能吧ListBox里的值提取 放到数组里啊
我的老师说   类型不能隐示的转换     为什么啊      
string[]str   =   this.lstNewFile.Items;

------解决方案--------------------
try

string[] str = new string[lstNewFile.Items.Count];
lstNewFile.Items.CopyTo(str,0);