How many String objects will be created when using a plus sign in the below code?
String result = \"1\" + \"2\" + \"3\" + \"4\";
If it was
One, since they're static, the compiler will be able to optimize it to a single string at compile time.
If they had been dynamic, they'd have been optimized to a single call to String.Concat(string, string, string, string).