Conditional or in C#
Posted
by vikitor
on Stack Overflow
See other posts from Stack Overflow
or by vikitor
Published on 2010-03-23T10:24:47Z
Indexed on
2010/03/23
10:33 UTC
Read the original article
Hit count: 433
c#
Hello, I've been programming in JAVA and C all my years at Uni, but now I'm learning C# and building a small application, and I've found troubles with this:
if (taxonType.Equals(null) ¦¦ taxonID == -1)
I get a red underline for this conditional, and I don't really know why, because according to what I've seen that should be ok, but it is not. Is there something I'm missing?
thank you all in advance, Victor
© Stack Overflow or respective owner