コード例 #1
0
ファイル: Order.cs プロジェクト: eliasgeee/flightapp
        public string GetOrderQuantity()
        {
            var total = 0;

            for (int i = 0; i < OrderItems.Count; i++)
            {
                total += OrderItems.ElementAt(i).Amount;
            }
            return(total.ToString());
        }