oop - Why is System.Object not abstract in .NET? -


I know that it is usually used as a lock object, but is it really enough reason ?

  object o = what is the meaning of new object ()?  

A non-intangible class is something that represents the actual objects. "Asdasdf" is a string, can the actual instance of the "object" class be? It does not understand, OOP-wise My question is that if there are some practical reasons for its existence (besides being used as a lock object).

Sometimes you need an object, and nothing else, such as implementing multithreading lock For things like using a random reference type, the object is not allowed to be used in those situations to create an object object. Enter and monitor. Exit class (which is the backbone of the keyword "lock" in C #) can achieve lock on any object, regardless of implementation.


Comments