User475983607 posted
I need help constructing a method that returns three date values.
Create a class with 3 date properties. Populate the object properties and return the object.
public class MyDates {
public DateTime Date1 { get; set; }
public DateTime Date2 { get; set; }
public DateTime Date3 { get; set; }
}
public MyDates MyMethod()
{
//Do something
}
Or return an array of dates.
public DateTime[] MyMethod()
{
//Do something
}