- ふらっと C#,C♯,C#(初心者用) Part114©2ch.net
657 :デフォルトの名無しさん[sage]:2015/02/15(日) 22:31:40.81 ID:uUtopMvY - >>656
finalやconstを異なる二つの意味で使うJavaやCと違って C#はきちんと使い分けされてるからな class A { readonly String s; A() { this.s = ""; } const int i = 100; void M() { const int j = 200; //readonlyは使えず } }
|
|