data.ForEach(o => { //格式字串規則{index[,alignment][:formatString]} //Console.WriteLine(string.Format("{0,-16} {1,6:N0}", o.Name, o.Score)); // ...
確定! 回上一頁