in code-bugfixing/unhandled-exception/C#/VisualStudio/src/BankAccount.cs [14:25]
public static void ValidateInputs(double initialAmount, List<double> credits, List<double> debits)
{
if (credits == null)
{
throw new ArgumentNullException(nameof(credits), "Credits list cannot be null.");
}
if (debits == null)
{
throw new ArgumentNullException(nameof(debits), "Debits list cannot be null.");
}
}