jjzjj

ImmutableArray

全部标签

c# - ImmutableArray<T> 和 ImmutableList<T> 的区别

ImmutableArray之间有什么区别?和ImmutableList,最好在哪里使用它们? 最佳答案 以下是一些可能有助于解释的读物:PleasewelcomeImmutableArray摘录如下:Reasonstouseimmutablearray:Updatingthedataisrareorthenumberofelementsisquitesmall(youneedtobeabletoiterateoverthedatainperformancecriticalsectionsyouhavemanyinstancesof