자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
public string GetReducedPrice() { decimal total = 0; for (int i = 0; i < Promotions.Count; i++) { var prom = Promotions.ElementAt(i); total += prom.ReducedAmount; } return(total.ToString()); }