Why is string IndexOf() acting case-INsensitive?

At the final step your query is translated into sql. In SQL server string alike fields (varchar, nvarchar) are case insensetive. So select * from tbl where col like '%foo%' will retrieve if the value is Foo or FOo.

I thought it was case-sensitive by default, but you can always use the StringComparison overload to specify case sensitivity.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions