Improve code formatting

This commit is contained in:
Stone_Red
2022-11-17 11:40:51 +01:00
parent 533ad23c4d
commit 1ced6f393c
11 changed files with 39 additions and 109 deletions
+1 -11
View File
@@ -4,17 +4,7 @@
{
private static void Main(string[] args)
{
TextEditor textEditor;
if (args.Length > 0)
{
textEditor = new TextEditor(args[0]);
}
else
{
textEditor = new TextEditor();
}
TextEditor textEditor = args.Length > 0 ? new TextEditor(args[0]) : new TextEditor();
textEditor.Run();
}
}