¡@

Home 

c# Programming Glossary: t.toupper

How can I make this LINQ search method handle more than two terms?

http://stackoverflow.com/questions/1866018/how-can-i-make-this-linq-search-method-handle-more-than-two-terms

searchTerms.Count case 1 return from t in tasks where t.ToUpper .Contains searchTerms 0 .ToUpper select t .ToList case 2.. select t .ToList case 2 return from t in tasks where t.ToUpper .Contains searchTerms 0 .ToUpper t.ToUpper .Contains searchTerms.. in tasks where t.ToUpper .Contains searchTerms 0 .ToUpper t.ToUpper .Contains searchTerms 1 .ToUpper select t .ToList default..