It depends precisely what you mean - it's not entirely clear. If you just
want to know whether the type is an enum or not, check GetType().IsEnum. If
you mean "is it something other than the primitive types int, bool, string
etc." you could check GetType().IsPrimitive or GetType().GetTypeCode(). If
you mean "is it something defined in the framework class library or not",
then you have to try something along the lines of what Marc says.
"John A Grandy" <johnagrandy-at-gmail-dot-comwrote in message
news:OT**************@TK2MSFTNGP03.phx.gbl...
Short of brute force , how to determine if a type is not a .net type ...
e.g. a custom type, such as an enum ...