enum testA: int{  }enum testB: long{}enum testC: byte{}变量 long a = 0;
public T GetEnum<T>(long value){
      var enumType = //枚举类型T所继承的类型
     if(enumType == int ) return (int)value;
     if(enumType == long) return (long)value;
     if(enumType == byte) return (byte)value;
}红色字体处的处理该如何进行呢?  想获取传入进来的泛型枚举是继承自 int 、long、还是 byte