SyntaxFix
Write A Post
Hire A Developer
Questions
I have not seen bool option in other answers so I hope below code will help someone.
Just use Any()
Any()
string myString = "test"; bool exists = myList .Where(w => w.COLUMN_TO_CHECK.Contains(myString)).Any();