Reply to post: compare strings directly in C# instead of having to use .equals().

Q. What's today's top language? A. Python... no, wait, Java... no, C

AMBxx Silver badge

compare strings directly in C# instead of having to use .equals().

That's one of the things I really don't like about C#. It never seems to know whether a string is an object or not.

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon

Biting the hand that feeds IT © 1998–2019