Skip to content

Commit 468ded3

Browse files
committed
Formatted csharp scripts and remove strange unicode.
1 parent 5c9d717 commit 468ded3

File tree

5 files changed

+52
-52
lines changed

5 files changed

+52
-52
lines changed
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
namespace Scripts
1+
namespace Scripts
22
{
3-
interface IJump
4-
{
5-
int Jump();
6-
}
3+
interface IJump
4+
{
5+
int Jump();
6+
}
77
}
Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
using System;
1+
using System;
22
namespace Scripts
33
{
4-
public class JumpMaster
5-
{
6-
public static int SuperJump()
7-
{
8-
IJump sj = new SuperJump();
4+
public class JumpMaster
5+
{
6+
public static int SuperJump()
7+
{
8+
IJump sj = new SuperJump();
99
return sj.Jump();
10-
}
10+
}
1111

12-
public static int TinyJump()
13-
{
14-
IJump sj = new TinyJump();
15-
return sj.Jump();
16-
}
17-
}
12+
public static int TinyJump()
13+
{
14+
IJump sj = new TinyJump();
15+
return sj.Jump();
16+
}
17+
}
1818
}
Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
namespace Scripts
1+
namespace Scripts
22
{
3-
public class SuperJump : IJump
4-
{
5-
public int Jump()
6-
{
7-
return 2;
8-
}
9-
}
3+
public class SuperJump : IJump
4+
{
5+
public int Jump()
6+
{
7+
return 2;
8+
}
9+
}
1010
}
Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
namespace Scripts
1+
namespace Scripts
22
{
3-
public class TinyJump : IJump
4-
{
5-
public int Jump()
6-
{
7-
return 1;
8-
}
9-
}
3+
public class TinyJump : IJump
4+
{
5+
public int Jump()
6+
{
7+
return 1;
8+
}
9+
}
1010
}

source/scripts/csharp/hello/source/hello.cs

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,26 +2,26 @@
22

33
namespace Scripts
44
{
5-
public class Program
6-
{
5+
public class Program
6+
{
77
public static void SayHello()
8-
{
9-
Console.WriteLine("HELLO");
10-
}
8+
{
9+
Console.WriteLine("HELLO");
10+
}
1111

12-
public static void Say(string text)
13-
{
14-
Console.WriteLine(text);
15-
}
12+
public static void Say(string text)
13+
{
14+
Console.WriteLine(text);
15+
}
1616

17-
public static int Sum(int a,int b)
18-
{
19-
return a+b;
20-
}
17+
public static int Sum(int a, int b)
18+
{
19+
return a + b;
20+
}
2121

22-
public static string Concat(string a,string b)
23-
{
24-
return a+b;
25-
}
22+
public static string Concat(string a, string b)
23+
{
24+
return a + b;
25+
}
2626
}
27-
}
27+
}

0 commit comments

Comments
 (0)