When trying to call this function in my code i get the error in the title. Also Operator \'+=\' cannot be applied to the operands of type \'int\' and \'T\'
p
You can set constraint:
public int Change(Stats type, T value) where T : IConvertible
Then:
var intValue = value.ToInt32();