Table of Contents

IsOrdinalFromZero Method

IsOrdinalFromZero(Type)

public static bool IsOrdinalFromZero(Type enumType)

Parameters

enumType Type

Returns

bool

return false if enum has entries more than MaxLength

Remarks

NOTE: inefficient method so do not try to call repeatedly