C#

How find items that are not in another list using Linq C#1 min read

You will need to create a simple class that takes the personal information of the registered students.

The next step is to fill some dummy data and create a list of students that belongs to Computer Science department.




This is the reverse scenario of the above query. If you want to select the students who are not from Computer Science department then you can use the following query:

Leave a Comment