ToString() method is a virtual method in Object Class, Every class which we create is inherited from Object class. So it is always there in every class.
Because Object is the base class of all reference types in the .NET Framework, this behavior is inherited by reference types.