-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #50 from tsubakimoto/dotnet-format-5706220297
PR from dotnet-format-5706220297 to tsubakimoto-patch-1
- Loading branch information
Showing
2 changed files
with
14 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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()); |