C ++. int Total = 0; // set Total to zero to start foreach (string Str in ListBox1.Items) { Total = (Total + int.Parse(Str)); }
確定! 回上一頁