using System.Collections.Generic;
public static void Main()
foreach (var i in e(new DateTime(2050,2,5),new DateTime(2060,12,12)))
Console.WriteLine(f(new DateTime(2050,2,5),new DateTime(2060,12,12)));
static IEnumerable<DateTime> e(DateTime a, DateTime b)
for(;a<b;a=a.AddDays(1))if($"{a:yyy}"==string.Concat(($"{a:ddMM}").Reverse()))yield return a;
static void h2(DateTime c, DateTime d)
Action<DateTime, DateTime> action=
(a,b)=>{for(;a<b;a=a.AddDays(1))if($"{a:yyy}"==string.Concat(($"{a:ddMM}").Reverse()))a.Dump();};
static string f(DateTime a, DateTime b)
var r="";for(;a<b;a=a.AddDays(1))if($"{a:yyy}"==string.Concat(($"{a:ddMM}").Reverse()))r+=a+",";return r;