そのため、コメントや記述内容は落書き
Last active
February 9, 2016 08:26
-
-
Save nitaking/3938b731f7b8f3817121 to your computer and use it in GitHub Desktop.
リアルタイム編集によるプログラミング学習
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
public class Hello{ | |
public static void Main(){ | |
// Here your code ! | |
// コメント | |
/* コメント */ | |
double Sample1 = 5; //入居 | |
double Sample2 = 10.1; //入居 | |
double nothing; //不在 | |
System.Console.WriteLine("Sample1 : " + Sample1); | |
System.Console.WriteLine("Sample2 : " + Sample2); | |
//System.Console.WriteLine("nothing : " + nothing); | |
System.Console.WriteLine(); | |
// Sample1が参照する値は”Sample2の値” | |
Sample1 = Sample2; | |
nothing = Sample2; | |
System.Console.WriteLine("Sample1 : " + Sample1); | |
System.Console.WriteLine("Sample2 : " + Sample2); | |
System.Console.WriteLine("nothing : " + nothing); | |
// A -> B | |
// B -> C | |
// 結果的に A -> C | |
// おーい | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment