C# Savings Calculator

Description
  • Date: July 24, 2023
  • Categories: Fun

The code for this project is published on Github

Project Summary

Having recently re-joining my placement company as a graduate developer, I realised I needed to plan how to save my money – after-all I had spent the past 4 years living in my overdraft like a typical student. Cobbling together some Google sheets formulas, I managed to find an ideal allocation of savings accounts for me. With my savings strategy sorted, I realised that banks of-course change their rates, and also most introductory AER rates only last for the first year, so I would need to change my strategy yearly – or potentially more often. 

I could of-course have just cobbled together new formulas yearly, but as a developer I had gained an interest in how I could model how various savings accounts work over time…

The Solution

Every Friday, my company designates the afternoon as Kaizen time, a Japanese phrase that translates to continuous improvement – in a way this perfectly fits in with the companies Agile approach to project planning and development. I decided to use this Kaizen time one afternoon to develop the framework of a C# application that can model the rates of various types of savings accounts.

The solution isn’t some fancy web app, or even something with a user interface – although it could progress to this if I decide – but instead it is a collection of classes that model the basics of how various different savings accounts work. These classes can be created, interacted with via deposits, withdrawals and setting up monthly deposits, and then each class has it’s own calculation logic that will calculate the expected earnings by a set period of time, given the above deposits and withdrawals.

At the time of writing, the project has served it’s purpose for me, and resolved my curiosity of how savings accounts may be modelled in C#, however I may very well choose to expand it. Follow the projects progress on Github.