Tag: ".net"

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 [...]

How to start learning computer programming for free.

Here is how you can learn computer programming for free. Learn C, C++, C#, Visual Basic, Java or PHP using these FREE tools to get started