Wednesday, May 09, 2012

Object. ToString method

Object is the base class for all the .Net data types

It has one important method ToString which basically can give the string representation of an Object. Implementation of ToString in Object class basically returns the Type name of the given object. When we call ToString on a class that does not override ToString will just return Type name of the given object.

No comments:

Post a Comment