Data types -II
Can compare DateTime data type with null value? what is output of below code?? why???
static DateTime timestamp;
if (timestamp == null)
{
Console.WriteLine(timestamp.ToString());
}
A blog to learn Programming
Can compare DateTime data type with null value? what is output of below code?? why???
static DateTime timestamp;
if (timestamp == null)
{
Console.WriteLine(timestamp.ToString());
}