using System.Collections.Generic;
public static void Main()
var betterList = new List<DataRowThing>();
betterList.Add(new("firstcol", "secondcol"));
foreach (var row in betterList)
Console.WriteLine($"{row.col1}, {row.col2}");
public record DataRowThing(string col1, string col2);