Boolean.ToString Method ()
Converts the value of this instance to its equivalent string representation (either "True" or "False").
Assembly: mscorlib (in mscorlib.dll)
This method returns the constants "True" or "False".
Note that XML is case-sensitive, and that the XML specification recognizes "true" and "false" as the valid set of Boolean values. If the string returned by the String.ToLowerInvariant method should be called first to convert it to lowercase.method is to be written to an XML file, its
The following example illustrates themethod.
Available since 8
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Available since 8.1