For example, I have list of texts which each text looks like something like this:
We prefer questions that can be answered, not just discussed. Provide details. Share your research.If your question is about this website
and I want to search for can be answered through the list of text and return the text above as a text which has can be answered. How should I do this?
I tried Contains() but it returns nothing. My code looks like this:
IEnumerable<App_ProjectTask> temp;
if (!String.IsNullOrEmpty(query))
{
    temp = dc.App_ProjectTasks.Where(x => x.Title.Contains(query) || x.Description.Contains(query));
    if (temp.Count() > 0)
    {
        results = temp.ToList();
    }
}
 
     
     
     
     
     
     
    