Short and null
HI!!
Let say I have an object and this object has a property
of the type short.
How I can check if someone set this property?
When i try to check this like that:
if( myObject.MyShortProperty != null )
{
}
I get an null reference exception.
How I can check this without a null references exception?
regards,
gicio
shimtannyPosted Mar 15, 2005, 11:26 AM
sacrespPosted Mar 15, 2005, 9:36 AM
mibuytPosted Mar 13, 2005, 8:58 PM
shimtannyPosted Mar 13, 2005, 4:41 PM