回答編集履歴
2
こっちのほうが対照的か
test
CHANGED
@@ -8,21 +8,19 @@
|
|
8
8
|
「その動作が**ある**言語」を、ちょっとでも触ってみるといいかもしれません^^
|
9
9
|
C#
|
10
10
|
```cs
|
11
|
-
using System;
|
12
|
-
|
13
11
|
public class a
|
14
12
|
{
|
15
13
|
public static void Main(string[] args)
|
16
14
|
{
|
17
15
|
string a = "a";
|
18
16
|
rrr(ref a);
|
19
|
-
Console.WriteLine(a);
|
17
|
+
System.Console.WriteLine(a);
|
20
18
|
}
|
21
19
|
|
22
20
|
public static void rrr(ref string s)
|
23
21
|
{
|
24
22
|
s = "sss";
|
25
|
-
Console.WriteLine(s);
|
23
|
+
System.Console.WriteLine(s);
|
26
24
|
}
|
27
25
|
}
|
28
26
|
```
|
@@ -32,4 +30,4 @@
|
|
32
30
|
sss
|
33
31
|
sss
|
34
32
|
```
|
35
|
-
[SharpLab](https://sharplab.io/#v2:C4LgTgrgdgNAJiA1AHwAI
|
33
|
+
[SharpLab](https://sharplab.io/#v2:C4LgTgrgdgNAJiA1AHwAIGYAEqBMmCGAsAFADeJml2WqAjAGzYAsmAsvgJZQAUdADAG0AugTABzAM4BKClXLEqi7LT4FMAXkwAifFoDcspZjAnuYAKYAzAlIMKjygHR0AnN3y3DmAL4kvGZUZUFhMwMytlVWkveQdMCQ1tCWT9L0U6Z1o3aTtFX2JvIA)
|
1
SharpLab
test
CHANGED
@@ -8,6 +8,8 @@
|
|
8
8
|
「その動作が**ある**言語」を、ちょっとでも触ってみるといいかもしれません^^
|
9
9
|
C#
|
10
10
|
```cs
|
11
|
+
using System;
|
12
|
+
|
11
13
|
public class a
|
12
14
|
{
|
13
15
|
public static void Main(string[] args)
|
@@ -30,3 +32,4 @@
|
|
30
32
|
sss
|
31
33
|
sss
|
32
34
|
```
|
35
|
+
[SharpLab](https://sharplab.io/#v2:C4LgTgrgdgNAJiA1AHwAICYCMBYAUH1AZgAINiBDPAbz2LtJNUwDZSAWYgWXIEsoAKJgAYA2gF0KYAOYBnAJS16NXPVWlMQisQC8xAETk9AbkVriYC/zABTAGYU5JlWfUBOfuUeniAXzzeidVZUDgswKzt1TXlvZRdiGR19GRTjb1Umd3knVT9cHyA==)
|