Is there a way in C# sytax for defining a new line? (Like in VB _ )
Example:
Instead of:
string myStr = 'very long string' + 'another long string';
This:
string myStr = 'very long string \something another long string'
Or; does compiler handles this and does something like; ‘string’ + ‘string’ -> ‘stringstring’ in this example?
Different cases are welcome like when these strings are constants, etc.
Compiler turns ‘ABC’ + ‘DEF’ into ‘ABCDEF’ so there’s no cost in using +