private void AddInt(Dictionary<string, string> parameters, string key, int? value) { if (!value.HasValue || value.Value < 0) { return; } var sInt = value.Value.ToString(); AddString(parameters, key, sInt); }