Exemplo n.º 1
0
        public static void WithAlcohol(Alcohol alchohol, Container container)
        {
            container.FilledWith = alchohol;

            // You can't fill whole container!;
            container.CurrentLiters = container.Liters - ((container.Liters * 10) / 100);
        }
Exemplo n.º 2
0
        public static void WithAlcohol(Alcohol alchohol, Container container)
        {
            container.FilledWith = alchohol;

            // You can't fill whole container!;
            container.CurrentLiters = container.Liters - ((container.Liters * 10) / 100);
        }