Hacker News new | ask | show | jobs
by estimator7292 300 days ago
As I understand, all types implicitly inherit from Object in C#. That's where the `ToString` and hashcode overrides come from.

Offhand, I'd guess that explicitly inheriting from Object would either do nothing or fail to compile depending on where in the type hierarchy you are.

Similarly, all structs implicitly inherit from ValueType. That's what structs are in C#.