private void CheckInvalid(string Message, bool Check) { if (Check) throw (new InvalidOperationException(String.Format("Invalid '{0}' : {1}", Message, this.Name))); }