in C++ it's
string x = "hello \
Hello";
it's \
in C# I really don't know :) but \ doesn't works and I can't find information. Th开发者_运维技巧at's annoying.
Prefix your string with the @ symbol so that the newline character is included in the string.
string x = @"hello
Hello";
string x = @"Hello
world";
精彩评论