Tuesday, 15 September 2015

c# - Is DateTime a primitive type? -



c# - Is DateTime a primitive type? -

according can find believe datetime primitive type when check datetime variable property 'isprimitive' false.

http://msdn.microsoft.com/en-us/library/aa711900(v=vs.71).aspx

in article above you'll see datetime primitive. there i'm doing wrong or have read article wrong?

the msdn page on isprimitive lists .net types considered primitive far method concerned:

the primitive types boolean, byte, sbyte, int16, uint16, int32, uint32, int64, uint64, intptr, uintptr, char, double, , single.

and datetime not in list.

c# primitive primitive-types

No comments:

Post a Comment