public object Clone() { var clone = new FinancialGoal(Value, Name); clone.AllocatedFunds = AllocatedFunds; clone.TimeToDeadline = TimeToDeadline; return(clone); }
//returns false if item not found public bool RemoveFinancialGoal(FinancialGoal goal) { return(FinancialGoals.Remove(goal)); }
public void AddFinancialGoal(FinancialGoal goal) { FinancialGoals.Add(goal); }