M
Martin
Hi,
I have what is probabally a date contained in an object variable.
Before casting to date I actually want to attempt to verify that I actually
have a date.
I prefer to do this before casting as I do not want to generate an exception
if the object is NOT a date.
VB has the IsDate() function.. Is there an equivilent in c#, I'd prefer not
to have to reference the vb library just for this function.
cheers
martin.
I have what is probabally a date contained in an object variable.
Before casting to date I actually want to attempt to verify that I actually
have a date.
I prefer to do this before casting as I do not want to generate an exception
if the object is NOT a date.
VB has the IsDate() function.. Is there an equivilent in c#, I'd prefer not
to have to reference the vb library just for this function.
cheers
martin.