in c ++ it
string x = "hello \ Hello";
it \
in C # I really donβt know :), but \ does not work, and I can not find the information. This is annoying.
string x = @"Hello world";
Prefix your string with the @ symbol so that the newline character is included in the string.
string x = @"hello Hello";
Source: https://habr.com/ru/post/1736441/More articles:Text overflow textblock wpf left - wpfcheck if the value is an integer (Objective-C) - objective-cIntel MKL memory and exception management - c ++Problem with .NET settings. Settings.Reload () and Settings.Save () not loading - c #Expander autocomplete in text field without using webservice - .netphpunit and autoloader - phpHow can I simplify this logic - phphttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1736444/recommend-a-better-way-to-turn-synchronous-methods-to-asynchronous-in-java&usg=ALkJrhjIJwPAnvfsbLYH5BBvtyVabPnmLgAdding a allocator to a C ++ class template to create a shared memory object - c ++what is the deal with estimating the compilation time of constant arithmetic, and can this be done in the preprocessor? - c ++All Articles