C#beginnercliAI generated

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

  1. 01

    Model the Expense record

    ~1h

    Define an Expense class/record with amount, category, date, and note fields.

  2. 02

    Build the console menu loop

    ~1.5h

    Create a text menu for adding, listing, and summarizing expenses in a loop until the user exits.

  3. 03

    Implement CSV persistence

    ~2h

    Write and read expense lists to/from a CSV file on startup and after each change.

  4. 04

    Add LINQ-based summary reports

    ~1.5h

    Use LINQ GroupBy to produce totals per category and per month.

  5. 05

    Add input validation

    ~1h

    Validate amount and date parsing, re-prompting on invalid input with clear error messages.

Resources

Ready to build this?

Get a GitHub repo and start building. Your AI reviewer checks each step as you go.

~7h · 5 steps

Tech stack

.NET CLILINQCsvHelper