Equality operator (==) is a reference type and we all know that Int32
is a struct which means that is a value type. I also checked the inside of the Int32
and I couldn't find any Operator Overloading
related to Equality Operator (==).
So, my question is why can we apply ==
on Int32
?
I also checked the decimal type and I noticed that it has some Operator Overloading
, so naturally we can use ==
on decimal types.