Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
これはかなり基本的な質問のはずですが、明確な答えを見つけるのに少し苦労しています。
値の配列があり、.ToArray()メソッドを使用すると、配列の深いコピーまたは浅いコピーが作成されますか?
.ToArray()
いいえ。
これは、テストする小さなプログラムを作成することで簡単に確認できます。