I am wondering what is the \"best practice\" to break long strings in C# source code. Is this string
\"string1\"+
\"string2\"+
\"string3\"
con
Your example will be concatenated at compile time. All inline strings and const string variables are concatenated at compile time.
Something to keep in mind is that including any readonly strings will delay concatting to runtime. string.Empty and Environment.NewLine are both readonly string variables.