Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How to write not in query in linq?



How to write not in query in linq?..

Answer / Jogendra Singh

To perform a 'not in' query in LINQ, you can use the '!' operator. Here's an example: var result = myCollection.Where(item => !myOtherCollection.Contains(item));

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More LINQ Language-Integrated Query Interview Questions

What is difference between linq and entity framework?

1 Answers  


How is datacontext class related to linq?

1 Answers  


How to write LINQ query for Inner Join with and condition?

1 Answers  


Why do we use linq in c#?

1 Answers  


LINQ query is executed in which statement?

1 Answers  


What is expression tree in linq?

1 Answers  


What are the types of LINQ?

1 Answers  


What is predicate in linq?

1 Answers  


What is the use of using system linq?

1 Answers  


Is a type which is not valid in the given context linq join?

1 Answers  


What is linq in c# and its advantages?

1 Answers  


What is a linq expression?

1 Answers  


Categories