Answers for "how to split the date in c#"

C#
1

how to split list by date c#

List<List<Payments>> result = payments 
    .GroupBy(p => p.PaymentDate.Date)
    .Select(g => g.ToList())
    .ToList();
Posted by: Guest on October-06-2021

C# Answers by Framework

Browse Popular Code Answers by Language