[Solved] How can i find all the times between two given dates and time? [closed]
Gee, sometimes its fun to overengineer things. There is an Aggregate function which turns a list into a scalar value – lets create one that goes the other way public static class Extensions { public static IEnumerable<T> Explode<T>(this T value, Func<T,T> next, Func<T,bool> limit) { var n = value; while(!limit(n)) { yield return n; n … Read more