Skip to content

Instantly share code, notes, and snippets.

@nitaking
Last active February 9, 2016 08:26
Show Gist options
  • Save nitaking/3938b731f7b8f3817121 to your computer and use it in GitHub Desktop.
Save nitaking/3938b731f7b8f3817121 to your computer and use it in GitHub Desktop.
リアルタイム編集によるプログラミング学習

Gistをpaiza.ioで使ってみる

リアルタイム編集機能を使って友人とコードを共有しながら学習に使った

そのため、コメントや記述内容は落書き

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