Sunday, October 11, 2015

What one type does every other type subclass?

object is the answer to this classic C# interview question. Note that object may yet be upcast to dynamic and a dynamic object may be upcast to object. Both things don't make the compiler trip.

No comments:

Post a Comment