Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

23 wiersze
460 B

2 lat temu
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace Beverages
  7. {
  8. public class Erythriol : ISweetener
  9. {
  10. double quantityGrams;
  11. public Erythriol(double quantityGrams)
  12. {
  13. this.quantityGrams = quantityGrams;
  14. }
  15. public override string ToString()
  16. {
  17. return "Erythriol " + quantityGrams + "g";
  18. }
  19. }
  20. }