Jeremy's Tech Blog
  • Home
  • Articles
  • Tutorials
  • Generative AI
  • Python Guides
  • Linux Guides
  • Courses
  • Videos
  • Retro Racer

  • RSS Feed Join the email list
  • How to use OR operator with Strings in C#

    I just had this problem tonight, so I thought I'd share the solution. In many languages you can do a string comparison in the following way

    clock 2 min read - Dec 8, 2008