"You can make the value argument an expression which is of type System.ValueType or derived, and it will find value types such as int, enums, etc." . . . .