LoginSignup
1
0

More than 3 years have passed since last update.

僕のC#基礎の基礎

Last updated at Posted at 2020-01-19

Python、Java、VBAのみしか使用したことがない自分用の超超基本的な記述の仕方の解説。
なんか色々な言語やりだすと些細な差がわからなくなったりするんですよね。

超基本

  • 行の終わりは
  • コメント
    • 一行 //
    • 一部 /**/
  • 文字列は'でも"
  • 比較演算子で
    • 積:&&
    • 和:||
    • 否定:!
  • 定数const
  • 数値型の文字型への変換データ.toString()
  • 変数基本は、キャメルっぽい。(自分が読んだ本がそう書いてたからそう思った。)
  • メソッドでの参照渡し
//定義側
private void method(ref x){
    //処理
}

//呼出し側
y = method(ref x) 
1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0