79359644

Date: 2025-01-15 20:46:01
Score: 0.5
Natty:
Report link

I would personnaly use a dictionnary to hold a single line. Something like that:

var row = new Dictionary<string, object>();
for (int i = 0; i < reader.FieldCount; i++)
{
    row[reader.GetName(i)] = reader.GetValue(i);
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Maxter