'Is' requires operands that have reference types, but this operand has the value type '<typename>'
Updated: July 20, 2015
For the latest documentation on Visual Studio 2017, see Visual Studio 2017 Documentation.
Is comparison operator determines whether two object variables refer to the same instance. This comparison is not defined for value types.
Error ID: BC30020
- Use the appropriate arithmetic comparison operator or the
Likeoperator to compare two value types.