we can search dictionary like
var dictionary = new Dictionary<string,string>();
dictionary.Keys.Where( key => key.Contains("a")).ToList();
but it return list. i want that linq should return true or false. so what would be the right code that search dictionary with linq. please guide.
Use the
Any()operator:Or