Interviews2 answers
Why object.ToString() method always there in asp.net...tell me about real reason behin this??????
2 Answers
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.
Deepak SinghPosted Feb 1, 2018, 11:13 PM EST
Because Object is the base class of all reference types in the .NET Framework, this behavior is inherited by reference types.
Mehul PrajapatiPosted Jan 27, 2018, 6:37 AM EST


