private void ValidateAndSet(float x, float y, float z, float w) { if (!IsValid(x, y, z, w)) { throw new ArgumentException("Invalid variable value."); } else { this.x = x; this.y = y; this.z = z; this.w = w; } }