Skip to content

Commit a269a5a

Browse files
Conver old syntaxis to old one using StringBuilder (#7087)
1 parent 91b9946 commit a269a5a

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

core/encoding/cyrillic-to-latin/cs/ConsoleModule.cs

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,14 @@ static void Main()
8686

8787
private static void ShowSyntax()
8888
{
89-
Console.WriteLine("\nSyntax: CyrillicToRoman <source> <destination>");
90-
Console.WriteLine(" where <source> = source filename");
91-
Console.WriteLine(" <destination> = destination filename\n");
89+
StringBuilder sb = new StringBuilder();
90+
91+
sb.AppendLine();
92+
sb.AppendLine("Syntax: CyrillicToRoman <source> <destination>");
93+
sb.AppendLine(" where <source> = source filename");
94+
sb.AppendLine(" <destination> = destination filename");
95+
sb.AppendLine();
96+
97+
Console.WriteLine(sb.ToString());
9298
}
9399
}

0 commit comments

Comments
 (0)