Hello,
I will be having a dynamic date range(from & To date), I need to find all the month names & number of days in between that date range, the from & To date may or may not be a full month, so the no. of days should be calculated accordingly.
Sample, Input & Output below
I tired looking through all similar topics but couldn’t find an exact one, apologies if it is a duplicate one.
I am trying to build a solution using while loop unsuccessfully, wondering if there is any LINQ for such scenarios.
Any suggestion will be very helpful.
Thanks