Most data types have a built-in ToString method, but not all, and what’s more, the default method can throw an error if, for example, the object is null.

Most data types have a built-in ToString method, but not all, and what’s more, the default method can throw an error if, for example, the object is null.