object is the ultimate base type for all .Net types. structs implicitly inherits the ValueType class which inherits object, and by definition are value types, meaning they can't be null to begin with - which means that this test will always return true.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
object
is the ultimate base type for all .Net types. structs implicitly inherits theValueType
class which inheritsobject
, and by definition are value types, meaning they can't be null to begin with - which means that this test will always return true.