C# WriteDateTimes.cs