In C#, assigning a struct copies the data because a struct is a value type rather than a reference type.
C#では、structを代入するとデータがコピーされます。structは参照型ではなく値型であり、値を直接表すデータ型です。
アカウントを持っていませんか? 新規登録
アカウントを持っていますか? ログイン
DiQt(ディクト)
無料
★★★★★★★★★★