mercoledì, aprile 08, 2009

Writing Long Strings Using Multiple Lines in C#

Heh, I know some of my posts are “noob” posts, but this blog serves as my own virtual series of post-its. Adding the @ character before the quote allows line breaks in the string.

private string longName = @"abcdefg

hijklmnop";