public void Maximum(int value) { if (this.cnt == 0 || value > this.result) this.result = value; this.cnt = 1; }