Try this. C#. Copy Code. foreach (var items in ListBox1.Items) { myDb.Add(new MyItems() { items }); } var array = myDB.ToArray();.
確定! 回上一頁