ToString Method

Object.ToString Method

.NET Micro Framework 3.0
Returns a string that represents the current instance (object) of the Object class.

Namespace: System
Assembly: mscorlib (in mscorlib.dll)

public virtual string ToString ()

Return Value

A string that represents the current object.

This method returns a human-readable text string that is culture-sensitive. For example, for a Double object whose value is 0 (zero), the implementation of the Double.ToString method might return "0.00" or "0,00", depending on the current system culture.

The default implementation returns the fully qualified name of the type of the Object object.

Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, 4.1, and 4.2.

Community Additions

© 2015 Microsoft