Just wondering if there's a way to mimic the "Format as Table" Excel function in C# for .csv files.
Context:
The WPF .NET Framework program I've created generates a 8x19 or 7x19 grid of data. The data collected is always different. My program can export this data into a CSV file. This is what it looks like when exported:

My customer is wanting the data in the CSV file to already be formatted into a table like so:

Is there a way to format it as a table after the data has been exported (besides manually doing it in Excel)?