型名に?をつけるとnullを代入できる

tgktgk のブックマーク 2010/07/26 20:48

その他

このブックマークにはスターがありません。
最初のスターをつけてみよう!

Nullable value types - C# reference

    A nullable value type T? represents all values of its underlying value type T and an additional null value. For example, you can assign any of the following three values to a bool? variable: true, ...

    \ コメントが サクサク読める アプリです /

    • App Storeからダウンロード
    • Google Playで手に入れよう