Dev2.TypeExtensionMethods.IsPrimitive C# (CSharp) Method

IsPrimitive() public static method

public static IsPrimitive ( this type ) : bool
type this
return bool
        public static bool IsPrimitive(this Type type)
        {
            return type == typeof (string) || type.IsValueType || type.IsPrimitive;
        }
    }
TypeExtensionMethods