Right now I’m having it with Guids.
I certainly remember that throughout the code in some places this implicit conversion works, in others it does not. Until now I fail to see the pattern.
How the compiler decides when it cannot? I mean, the type method Guid.ToString() is present, isn’t it called whenever this transformation is needed?
Can someone please tell me under what circumstances this transformation is done automatically and when I have to call myInstance.ToString() explicitly?
In short, when there is an implicit or explicit conversion operator defined: