I need to write something that would give the same result as:
var result = collection.Where( o => o.Name.IndexOf( \"some_string2\" ) != -1 || o.Name.Index
You are checking the collections element o.ToLower() i assume you must check for its name o.Name.ToLower().
o.ToLower()
o.Name.ToLower()