using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace NUnitTest1 { public class Arithmetic { private decimal total; public void StartWith(decimal number) { total = number; } public void Add(decimal number) { total += number; } public void Minus(decimal number) { total -= number; } public void Multiply(decimal number) { total *= number; } public void Divide(decimal number) { total /= number; } public void Mod(decimal number) { total %= number; } public decimal Total { get { return total; } } } }