When programming is a series of conventions. Un surprisingly different languages use different conventions. If you are know one set, it will takes time to see erors which conform to the conventions your eye and brain have become accustomed to seeing
Yes, I know that the only difference between C# and VB net is a ; at the end of each line... here are some more that a programmer with a trained VB eye may find hard to spot.
The left-hand side of an assignment must be a variable, property or indexer
Example:
if (String.Compare( value, anotherValue,true) = 0 )
When comparing two variables use == not =
|
© 2009 Added Value Applications
|