Question: how to calculate business days c#?
Answer: if (endD.DayOfWeek == DayOfWeek.Saturday) calcBusinessDays –; if (startD.DayOfWeek == DayOfWeek.Sunday) calcBusinessDays –; if (DoW != 0) temp –;