Declaration
public static bool Try(
object value,
out string result
)
Summary
Converts the specified object to a string. Returns true if successful, or false if the object cannot be converted
exactly.
result is set to the type's default value if the conversion is unsuccessful, which in
this case means null (!!!). Note that the result will only ever be false if the value is one of the unsupported
types - all supported types can be converted to a string. (So can the unsupported ones but it's a different
matter. Unsupported types are not supported by this method for consistency with the other overloads.)