SyntaxFix
Write A Post
Hire A Developer
Questions
If you really want to match only the dot, then StringComparison.Ordinal would be fastest, as there is no case-difference.
StringComparison.Ordinal
"Ordinal" doesn't use culture and/or casing rules that are not applicable anyway on a symbol like a ..
.