Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
C# and datasets compile error?
Message
From
04/03/2004 10:24:05
 
 
To
04/03/2004 09:02:29
General information
Forum:
ASP.NET
Category:
Databases
Miscellaneous
Thread ID:
00882892
Message ID:
00883094
Views:
12
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
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform