79645101

Date: 2025-05-30 08:09:00
Score: 0.5
Natty:
Report link
void CalculateTotal()
{
    Total = Deductions.Sum(x => x,Amount) + Utilities.Sum(x => x.Amount) + Rent.Amount
}

Looks like a compilation error. For Deductions, you used x => x,Amount (notice the comma), should be x => x.Amount

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Akash Digumber