Skip to content

string.EndsWith works differently? What am I missing? #93961

Answered by huoyaoyuan
wstaelens asked this question in General
Discussion options

You must be logged in to vote

#92025 (comment)

You can use StringComparison.Ordinal to change the behavior.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@wstaelens
Comment options

Answer selected by wstaelens
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants