public ForecastIORequest(string apiKey, float latF, float longF, Unit unit, Extend[] extend = null, Exclude[] exclude = null) { _apiKey = apiKey; _latitude = latF.ToString(CultureInfo.InvariantCulture); _longitude = longF.ToString(CultureInfo.InvariantCulture); _unit = Enum.GetName(typeof(Unit), unit); _extend = (extend != null) ? RequestHelpers.FormatExtendString(extend) : ""; _exclude = (exclude != null) ? RequestHelpers.FormatExcludeString(exclude) : ""; }