Capstone A: a CSV log report
This part of the C# course is the first capstone: a report over a CSV log file, built one lesson at a time. The record and the file the program writes itself come first, then the parser with a bad line and its number, the grouped table, a file of two hundred thousand lines, a command line with an exit status, the same report as JSON, and a driver that tests the parser.
10.1
Capstone A: the model
the log line, the record, a file the program writes itself
Open
10.2
Capstone A: parsing a line
a split, TryParse, a bad line with its number
Open
10.3
Capstone A: the report
a grouped total, a sorted report, a fixed-width table
Open
10.4
Capstone A: a large file
StreamReader, a line at a time, memory kept flat
Open
10.5
Capstone A: the command line
a subcommand, a usage message, the exit status
Open
10.6
Capstone A: the report as JSON
the same report through System.Text.Json
Open
10.7
Capstone A: testing the parser
a table of good and bad lines, a driver, its exit status
Open