devxlogo

March 2, 2018

Check Whether a String Contains Another String

Often, we have to do a string comparison by ignoring the case, or the results end up being wrong. The StringComparison enum provides the “ordinalignorecase” member that allows you to