Overlaps
确定当前集合是否与指定集合或数组重复。
这个版本处理了实施 ICollection<T>接口的集合。
bool Overlaps(
ICollection<T>* collection // 比较集合
);处理数组的版本。
bool Overlaps(
T& array[] // 比较数组
);参数
*collection
[in] 确定重复的集合。
&collection[]
[in] 确定重复的数组。
返回值
如果当前集和集合或数组重复,则返回true;否则返回false。