BOb,
This has bitten me before... espesially comming from VFP which allows both.I got used to the square brackets pretty quickly, because in VFP I used them *only* for arrays and used parens for anything else. Now that I've been using C# exclusively for the last two years, and I've only done sporadic VFP (a few quickie utility programs -- VFP is handy for string manipulations), every time I *do* do VFP, I have to constantly remind myself *not* to stick the semi-colon at the end of the statement!! <g>
~~Bonnie
>>Add one more change to it:
>>
>> if (userDS.Tables[0].Rows.Count == 1)
>>
>>The square brackets ... in C# square brackets are used for collections, whereas parentheses are used in VB.
>
>This has bitten me before... espesially comming from VFP which allows both.
>
>BOb