From 468ded3da3d77a58ab663530018bcc8b4324c987 Mon Sep 17 00:00:00 2001 From: viferga Date: Wed, 8 Apr 2020 13:52:43 -0800 Subject: [PATCH] Formatted csharp scripts and remove strange unicode. --- source/scripts/csharp/hello/source/IJump.cs | 10 +++--- .../scripts/csharp/hello/source/JumpMaster.cs | 26 +++++++------- .../scripts/csharp/hello/source/SuperJump.cs | 16 ++++----- .../scripts/csharp/hello/source/TinyJump.cs | 16 ++++----- source/scripts/csharp/hello/source/hello.cs | 36 +++++++++---------- 5 files changed, 52 insertions(+), 52 deletions(-) diff --git a/source/scripts/csharp/hello/source/IJump.cs b/source/scripts/csharp/hello/source/IJump.cs index ce841b5fb..b7306d672 100644 --- a/source/scripts/csharp/hello/source/IJump.cs +++ b/source/scripts/csharp/hello/source/IJump.cs @@ -1,7 +1,7 @@ -namespace Scripts +namespace Scripts { - interface IJump - { - int Jump(); - } + interface IJump + { + int Jump(); + } } diff --git a/source/scripts/csharp/hello/source/JumpMaster.cs b/source/scripts/csharp/hello/source/JumpMaster.cs index 8fdd5360c..dc0c97ead 100644 --- a/source/scripts/csharp/hello/source/JumpMaster.cs +++ b/source/scripts/csharp/hello/source/JumpMaster.cs @@ -1,18 +1,18 @@ -using System; +using System; namespace Scripts { - public class JumpMaster - { - public static int SuperJump() - { - IJump sj = new SuperJump(); + public class JumpMaster + { + public static int SuperJump() + { + IJump sj = new SuperJump(); return sj.Jump(); - } + } - public static int TinyJump() - { - IJump sj = new TinyJump(); - return sj.Jump(); - } - } + public static int TinyJump() + { + IJump sj = new TinyJump(); + return sj.Jump(); + } + } } diff --git a/source/scripts/csharp/hello/source/SuperJump.cs b/source/scripts/csharp/hello/source/SuperJump.cs index a9b705f05..6dee94b2a 100644 --- a/source/scripts/csharp/hello/source/SuperJump.cs +++ b/source/scripts/csharp/hello/source/SuperJump.cs @@ -1,10 +1,10 @@ -namespace Scripts +namespace Scripts { - public class SuperJump : IJump - { - public int Jump() - { - return 2; - } - } + public class SuperJump : IJump + { + public int Jump() + { + return 2; + } + } } diff --git a/source/scripts/csharp/hello/source/TinyJump.cs b/source/scripts/csharp/hello/source/TinyJump.cs index bbb565a65..e8e5d5a4f 100644 --- a/source/scripts/csharp/hello/source/TinyJump.cs +++ b/source/scripts/csharp/hello/source/TinyJump.cs @@ -1,10 +1,10 @@ -namespace Scripts +namespace Scripts { - public class TinyJump : IJump - { - public int Jump() - { - return 1; - } - } + public class TinyJump : IJump + { + public int Jump() + { + return 1; + } + } } diff --git a/source/scripts/csharp/hello/source/hello.cs b/source/scripts/csharp/hello/source/hello.cs index 863a7d041..9be3955ad 100644 --- a/source/scripts/csharp/hello/source/hello.cs +++ b/source/scripts/csharp/hello/source/hello.cs @@ -2,26 +2,26 @@ namespace Scripts { - public class Program - { + public class Program + { public static void SayHello() - { - Console.WriteLine("HELLO"); - } + { + Console.WriteLine("HELLO"); + } - public static void Say(string text) - { - Console.WriteLine(text); - } + public static void Say(string text) + { + Console.WriteLine(text); + } - public static int Sum(int a,int b) - { - return a+b; - } + public static int Sum(int a, int b) + { + return a + b; + } - public static string Concat(string a,string b) - { - return a+b; - } + public static string Concat(string a, string b) + { + return a + b; + } } -} \ No newline at end of file +}