ImmutableArrayとImmutableListのドキュメントを読むと、次のことがわかります。
ImmutableArray<T>
として実装されましたstruct
ImmutableList<T>
として実装されましたclass
質問:
そのような設計上の決定の理由を説明できますか?
ImmutableArray<T>
特に、なぜstruct
.
結局のところ、そうでSystem.Array
あるclass
のに、なぜそうでないのImmutableArray<T>
でしょうか。