共用方式為


Enumerable.Intersect Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Include Protected Members
Include Inherited Members

Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members

Produces the set intersection of two sequences.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Intersect<TSource>(IEnumerable<TSource>, IEnumerable<TSource>) Produces the set intersection of two sequences by using the default equality comparer to compare values.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Intersect<TSource>(IEnumerable<TSource>, IEnumerable<TSource>, IEqualityComparer<TSource>) Produces the set intersection of two sequences by using the specified IEqualityComparer<T> to compare values.

Top