I need to compare strings for a search mechanism on a web site. I use C#. I tried two ways:
consultants.Where(x => x.Description.ToLower().Contains(v
What kind of list are you working on? A plain list or an ORM? use string.Compare() if it's a plain list.
string.Compare()