Only assignment, call, increment, decrement, and new object expressions can be used as a statement
Invalid expression term '>'
The error is most likely for some VB programmer coding C#. The following snippet shows you why:
Wrong
if (value.Length <> 0)
Correct
if (value.Length != 0)
or
if (value.Length > 0)
VB Programmers tend to use <>:)
No comments:
Post a Comment