static void Main(string[] args) { Water w = new Water(); w.cooling(); w.cooling(); w.heat(); w.heat(); w.heat(); Console.WriteLine(); StringPrinter sp = new StringPrinter(); sp.PrintSTR("The quick brown fox jumps over the lazy dog"); sp.ChangeLC(); sp.PrintSTR("The quick brown fox jumps over the lazy dog"); sp.ChangeUC(); sp.PrintSTR("The quick brown fox jumps over the lazy dog"); }
public LiquidWater(Water water) { this.water = water; }
public SolidWater(Water water) { this.water = water; }
public GasWater(Water water) { this.water = water; }