I have read documentation that states that ‘given the type of the enum, the GetValues() method of System.Enum will return an array of the given enum\'s base type’ ie int, by
Can you please refer to the documentation you mention. The MSDN documentation on Enum.GetValues does not mention anything like that (quote from that page):
Return Value
Type: System.Array
An Array of the values of the constants in enumType. The elements of the array are sorted by the binary values of the enumeration constants.