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: if ($city == "Portland" || $city == "Seattle") { // stuff goes here } And this works just fine. But in C#, strings are treated as objects, so you [...]

