public Timer(float length, bool repeats, Action<Timer> tick) { if (length <= 0f) throw new ArgumentException("length must be greater than 0"); if (tick == null) throw new ArgumentNullException("tick"); Reset(length, repeats, tick); }