How to find common data from two lists in LINQ?
How to find common data from two lists in LINQ?
Student
An enthusiastic, adaptive, and fast-learning person with a broad and acute interest in the discovery of new innovative drugs, I particularly enjoy collaborating with scientists from different disciplines to develop new skills and solve new challenges.
The Intersect method or operator is used to combine multiple collections or lists into a single collection or list and return common elements from both collections.
Syntax
Example
Output