using System.Collections;
using System.Collections.Generic;
public class localTimeClass : IDateConvert
public string ReturnDate()
public static void Main()
Console.WriteLine("Hello World " + Plans.AL3);
string [] arr = ShowValidPlans(false, DateTime.Parse("2024-03-19"), DateTime.Parse("2024-04-19"));
Console.WriteLine("Plan: ");
foreach(string item in arr)
Console.Write(item.ToString() + ",");
public static string[] ShowValidPlans(bool isNotPolicyholderSameAsInsured, DateTime TravelStartDate, DateTime TravelEndDate)
List<string> list = new List<string>();
int dateDiff = TravelEndDate.Subtract(TravelStartDate).Days;
if (isNotPolicyholderSameAsInsured)
string[] arrToReturn = list.ToArray();