public static void Main()
total= 15560.45000000000072759576141834259033203125,
totalCard2= 15560.45000000000072759576141834259033203125,
installmentsValue= 3293.88999999999987267074175179004669189453125,
installmentsTotal= 16469.47000000000116415321826934814453125,
installmentsValueCard2= 1776.410000000000081854523159563541412353515625,
installmentsTotalCard2= 17764.11999999999898136593401432037353515625,
public static void PrintAll(object obj) {
var properties = obj.GetType().GetProperties();
foreach (var property in properties)
Console.WriteLine($"{property.Name} ({property.PropertyType.Name}): {property.GetValue(obj)}");