static void Main(string[] args) { Builder builder = new SaltWaterBuilder(); Director dir = new Director(builder); dir.constract(); SaltWater saltWater = (SaltWater)builder.getResult(); Console.ReadKey(); }
public SaltWaterBuilder() { this.saltWater = new SaltWater(0, 0); }