Expense Tracker CLI with CSV Import/Export
A console application for logging personal expenses by category and date, storing entries in memory and persisting them to CSV files, with summary reports by category and month. Learners practice C# collections, file I/O, and LINQ for aggregation.
- Estimate
- ~7h
- Steps
- 5
- Completed by
- 0
- Proposed by
- codeseed.app
.NET CLI · LINQ · CsvHelper
Project roadmap
- 01
Model the Expense record
~1hDefine an Expense class/record with amount, category, date, and note fields.
- 02
Build the console menu loop
~1.5hCreate a text menu for adding, listing, and summarizing expenses in a loop until the user exits.
- 03
Implement CSV persistence
~2hWrite and read expense lists to/from a CSV file on startup and after each change.
- 04
Add LINQ-based summary reports
~1.5hUse LINQ GroupBy to produce totals per category and per month.
- 05
Add input validation
~1hValidate amount and date parsing, re-prompting on invalid input with clear error messages.
Resources
- DocsC# Documentation
Ready to build this?
Get a GitHub repo and start building. Your AI reviewer checks each step as you go.
Tech stack