Question: I am compulsive and like visually clean designs.

Theres a pop up in my app that tells the user that there's an error. 

I made a clear button over the entire pop up (about 200x100 px) so the user can just touch the notification to dismiss it.

But i'm afraid the user might not know that you can just touch the pop up to dissmiss and would go crazy looking for the "OKAY" button. 

Do you guys think the OKAY button is necessary or is a giant clear button overlaying the notification good enough? 

note: the whole notification actually looks like a button because of rounded corners and some button like borders.

Answer: 
`Any()` returns true if any of the elements in a collection meet your predicate's criteria. (`Any()` does not iterate through the entire collection, as it returns upon the first match.)

`Where()` returns an enumerable of **all** elements in a collection that meet your predicate's criteria.

`Exists()` does the same thing as `Any()` except it's just an older implementation that was there on the `List` back before LINQ.
```
foreach (var item in model.Where(x => !model2.Any(y => y.ID == x.ID)).ToList())
{
enter code here
}

```

same work you also can do with `Contains`

secondly `Where` is give you new list of values.
thirdly using `Exist` is not a good practice, you can achieve your target from `Any` and `contains` like

```
EmployeeDetail _E = Db.EmployeeDetails.where(x=>x.Id==1).FirstOrDefault();

```

Hope this will clear your confusion.