Windows Phone Developers

Sunday, March 28, 2010

Invalid expression term '>'

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:


if (value.Length <> 0)


if (value.Length != 0)


if (value.Length > 0)

VB Programmers tend to use <>:) Digg Technorati Delicious StumbleUpon Reddit BlinkList Furl Mixx Facebook Google Bookmark Yahoo
ma.gnolia squidoo newsvine live netscape tailrank mister-wong blogmarks slashdot spurl StumbleUpon

No comments:

Post a Comment