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. That'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";
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With