From 9f0299d919e7328643848c30e19b9a2dd43179d3 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 30 Jul 2023 07:13:53 +0000 Subject: [PATCH] [bot] Auto formatted --- dotnet/net8.0/consoleapp/Class1.cs | 17 +++++++++-------- dotnet/net8.0/consoleapp/Program.cs | 10 +++++----- 2 files changed, 14 insertions(+), 13 deletions(-) diff --git a/dotnet/net8.0/consoleapp/Class1.cs b/dotnet/net8.0/consoleapp/Class1.cs index b9cd1f6..438c75b 100644 --- a/dotnet/net8.0/consoleapp/Class1.cs +++ b/dotnet/net8.0/consoleapp/Class1.cs @@ -1,13 +1,14 @@ - namespace consoleapp; +namespace consoleapp; internal class Class1 - { - private string field1 = "hoge dt1"; +{ + private string field1 = "hoge dt1"; - public string Property1 - => field1 ; + public string Property1 + => field1; - public string Greet () { - return $"Hello, World { Property1 }!" ; // comment - } + public string Greet() + { + return $"Hello, World {Property1}!"; // comment } +} diff --git a/dotnet/net8.0/consoleapp/Program.cs b/dotnet/net8.0/consoleapp/Program.cs index 55b1765..13b1e2c 100644 --- a/dotnet/net8.0/consoleapp/Program.cs +++ b/dotnet/net8.0/consoleapp/Program.cs @@ -1,6 +1,6 @@ - // See https://aka.ms/new-console-template for more information - using consoleapp; +// See https://aka.ms/new-console-template for more information +using consoleapp; -var class1 = - new Class1 ( ) ; -Console .WriteLine( class1.Greet() ); +var class1 = + new Class1(); +Console.WriteLine(class1.Greet());