In C# you can implicitly concatenate a string and let's say, an integer:
string sth = "something" + 0;
My questions are:
Why, by assuming the fact that you can implicitly concatenate a string and an int, C# disallows initializing strings like this:
string sth = 0; // Error: Cannot convert source type 'int' to target type 'string'How C# casts 0 as string. Is it
0.ToString()or(string)0or something else?- How to find an answer of the previous question?