public string GetCSV()
{
DataTable dt = new DataTable();
dt.Columns.Add("LogDate", typeof(DateTime));
dt.Columns.Add("Degrees", typeof(int));
foreach (Temperature temp in this)
{
DataRow row = dt.NewRow();
row["LogDate"] = temp.LogDate;
row["Degrees"] = temp.Degrees;
dt.Rows.Add(row);
}
return Utils.DataTableToCSV(dt);
}