this question has answer here:
- redundant inherit object in c#? 6 answers
in this msdn example, class explicitly inherits object:
class point: object { // ... } is explicitly inheriting object ever necessary? is, not equivalent following?
class point: object { // ... }
no, implicitly inherited. why every class in c# has .tostring() , .equals().
https://msdn.microsoft.com/en-us/library/vstudio/system.object%28v=vs.100%29.aspx object class: "this ultimate base class of classes in .net framework; root of type hierarchy."
this type of inheritance derived single class called "unified type system"
Comments
Post a Comment