I need to find the next three available business days for a planning application. What is available depends on the dates excluded in the table. So ... until the date is at my desk, and not on Saturday or Sunday, I want the following three. I would like to find an effective way to do this.
I need to return a List<DateTime> . The table is simple: ExcludedDates has an identifier and DateTime with an excluded date.
I would like to have one LINQ query expression, but I can't figure it out ... thanks to everyone in advance, and I apologize if this is trivial or obvious - this is not for me.
source share