I have a C# DataTable with 5 columns in it. I only care about two of the columns in the DataTable. The two columns I care about are called “CreateDate” and “ID”. They are a DateTime and string. The DateTime represents the date on which a ticket was submitted. The ID uniquely represents a ticket.
I am trying to write a LINQ statement that shows me the number of tickets created per date. However, I cannot figure out how do this. Can someone show me how to do this?
Thank you!
I believe something like this will work: