using System.Collections.Generic;
public DateTime MyDate {get; set;}
public string MyString {get; set;}
public static void Main()
var lst = new List<MySuperList>();
x.MyDate = new DateTime(x.MyDate.Year, x.MyDate.Month, x.MyDate.Day, x.MyDate.Hour, x.MyDate.Minute, x.MyDate.Second);
Console.WriteLine($"{x.MyDate} - {x.MyString}");