[Solved] How to get last date of the current week based on current date in C#


var today = DateTime.Now;
var nextFriday = today.AddDays(DayOfWeek.Friday -  today.DayOfWeek).Date;

You can get the next friday which is the last day of the week as in your question

0

solved How to get last date of the current week based on current date in C#