All C# types have the ToString()
method inherited from the object
base class.
Sometimes, it returns a valuable string representation of the data, and sometimes something like the name of the type.
Is there a way to know if the ToString()
method will return a string representation of the value data of the class ?
The context of my work about a custom serializer, that will use the string representation of the type if it is valuable, and if not a base 64 string of the byte[]
values from the class.