**Note:** Each array has three numbers in it. Both arrays have the numbers 2 and 3, and one other number.

**Result:** The results show that the Intersect method returns these exact numbers: 2 and 3. These are the intersecting numbers.

**Tip:** Intersect here compares elements in the default way for their type. For ints, a simple numeric comparison for equality is done.

© 2007-2019 Sam Allen. Every person is special and unique. Send bug reports to info@dotnetperls.com.

Home

Dot Net Perls