Instead of
string someString = "AB";
I stumbled upon
string someString = "A" + "B";
Is there any technical explanation which renders the second way more advantageous?
Instead of
string someString = "AB";
I stumbled upon
string someString = "A" + "B";
Is there any technical explanation which renders the second way more advantageous?
var answer = "The only thing advantageous is readability, if you have large " +
"amounts of text it can be useful to break up the text inside the " +
"source code for better readability. The compiler will turn it " +
"in to a single string at compile time anyway";