This is my method signature. While trying to pass end
as an optional parameter it gives me this error. What should I do to resolve this? Why isn't DateTime.MinValue
a constant?
public static void DatesToPeriodConverter(DateTime start, DateTime end = DateTime.MinValue,
out string date, out string time)