I have a LINQ statement as follows:
myList = MyList.Where(x =>
x.Name.Contains(SearchValue) ||
x.Address.Contains(SearchValue)).ToList();
My Database can have upper or lower cases for the Name
field like 'VSTS' or 'vsts'
I want my LINQ statement to execute with any case.
In the above LINQ statement if i provide with lower case values and the database is having upper case, the searching fails.. which i don't want.