Wednesday, February 09, 2011

Writing a long string in multiple lines

Writing a long string will always produce scrollbars in the editor. So it’s better to split it to multiple lines which is more easy to read.

String LongLine = @”...............
...................................
..................................."

You can escape ” by using "".

No comments: