I'm trying to wrap my head around this "new concept" called LINQ. Ever heard of it? LOL
Anyway, I've read enough to know this can be written much clearer using LINQ, but I don't understand how I'd write it:
DataTable table = MySqlDateTimeQueryResult();
for (int i = 0; i < table.Rows.Count; i++) {
DataRow r = table.Rows[i];
DateTime dt = (DateTime)r["Date_Time"];
Console.WriteLine(dt);
}
EDIT [Title Change]: How would I write this using LINQ?
Apparently, this is not a query.