Answers for "new line in csharp"

C#
4

c# string newline

string text = "fkdfdsfdflkdkfk@dfsdfjk72388389@kdkfkdfkkl@jkdjkfjd@jjjk@";

text = text.Replace("@", "@" + System.Environment.NewLine);
Posted by: Guest on September-09-2020
2

new line console c#

//You can use "\n" to jump to next line
//Example:
Console.WriteLine("Line #1 \n Line #2 \n\n\n Line #5");
Console.Write("Still on Line #5");
Console.WriteLine("Line #6");
Posted by: Guest on March-13-2021

C# Answers by Framework

Browse Popular Code Answers by Language