更新时间:2022-06-25 20:36:03
它实际上是明确落实。
object ICollection.SyncRoot
{
get
{
if (this._syncRoot == null)
{
Interlocked.CompareExchange(ref this._syncRoot, new object(), null);
}
return this._syncRoot;
}
}
这意味着你必须转换为 ICollection的
来使用它。
This means you must cast to ICollection
to use it.