Skip to content

Commit

Permalink
[bot] Auto formatted
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jul 30, 2023
1 parent e047792 commit 9f0299d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 13 deletions.
17 changes: 9 additions & 8 deletions dotnet/net8.0/consoleapp/Class1.cs
Original file line number Diff line number Diff line change
@@ -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
}
}
10 changes: 5 additions & 5 deletions dotnet/net8.0/consoleapp/Program.cs
Original file line number Diff line number Diff line change
@@ -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());

0 comments on commit 9f0299d

Please sign in to comment.