---
title: "How to find common data from two list in LINQ?"  
description: "How to find common data from two list in LINQ?"  
author: "Ethan Karla"  
published: 2021-09-24  
updated: 2021-09-24  
canonical: https://www.mindstick.com/forum/156769/how-to-find-common-data-from-two-list-in-linq  
category: "linq"  
tags: ["c#", "ado.net", "linq"]  
reading_time: 1 minute  

---

# How to find common data from two list in LINQ?

How to find [common](https://www.mindstick.com/articles/23170/10-most-common-accounting-mistakes-of-small-business) [data](https://www.mindstick.com/articles/13050/salesforce-aiming-to-dominate-predictive-analytics-with-data-science) from two [lists](https://www.mindstick.com/articles/126273/books-commonly-found-on-college-reading-lists) in [LINQ](https://www.mindstick.com/articles/12007/language-integrated-query-linq-queries)?

## Replies

### Reply by Ravi Vishwakarma

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

```
var result = collection.Intersect(collection2);
```

## Example

```
using System;using System.Collections.Generic;using System.Linq;
public class Program{ public static void Main() {  List<string> count1= new List<string>() { 'UK', 'Australia', 'India', 'USA' };  List<string> count2 = new List<string>() { 'India', 'UAE', 'Canada', 'UK', 'China', 'Pok' };
  List<string> list = count1.Intersect(count2).ToList();  list.ForEach( country => Console.WriteLine(country) );
  Console.ReadLine(); }}
```

## Output

```
UK
India
```


---

Original Source: https://www.mindstick.com/forum/156769/how-to-find-common-data-from-two-list-in-linq

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
