public void ToUInt64Test() { Assert.Throws<InvalidCastException>(() => Convert.ToUInt64(DateTime.MaxValue)); } }