I have the following logic bellow that I would like to turn into a private method as such. updatefield(loan, fieldName, value)
if (loan.CustomFields.Any(