コード例 #1
0
 public static void Add(Budget budget, string category)
 {
     try
     {
         Console.Clear();
         string elementAdded = budget.Add(Finance.Create(category));
         Console.WriteLine(elementAdded);
         consolePrinter.Budget(budget);
     } catch (Exception e)
     {
         Console.WriteLine(e);
     }
 }