public void FooBar(String _connectionString, Decimal p_Query_Type, DateTime? p_Date_Start = new DateTime(2006, 1, 1), DateTime? p_Date_End, Decimal? p_Number = null, Decimal? p_Group_Id = null)
Visual Studio doesn't like how I initialized p_Date_Start
how do I set a value if the developer using my API doesn't need a value to p_Date_Start?
Error from Visual Studio
Error CS1736 Default parameter value for 'p_Date_Start' must be a compile-time constant