Method ToString ToString() Converts information about the serialized type to a formatted string. Declaration public override string ToString() Returns Type Description String Returns information about the serialized type.