The namespace demo_str
{
Class Program
{
The static void Main (string [] args)
{
String biaoTi="quiet night think";
String zuoZhe="li bai";
String neiRong;
If (true)
{
If (true)
{
If (true)
{
NeiRong=@ "bright moonlight before bed, doubt is frost on the ground,
Look at the bright moon, bowed their heads and remembering home, ";
}
}
}
If (true)
{
If (true)
{
If (true)
{
If (true)
{
Console. WriteLine ($@ "title: {biaoTi}
Author: {zuoZhe}
Content: {neiRong} ");
The Console. ReadKey ();
}
}
}
}
}
}
}
CodePudding user response:
Plus the escape character \ r line,CodePudding user response:
Use '\ n' instead of a newline, you there is no need to use @ ban escape characterCodePudding user response:
Nice is a subjective judgment, for you, should you coding style often can,