|
-
Apr 13th, 2007, 04:51 PM
#1
Thread Starter
Fanatic Member
Array declaration VB v C#
Would I be correct in saying that to declare an array of 10 items (for example)
in VB: MyArray(9) Ten items, index 0 to 9
in C# MyArray[10] Ten items, index 0 to 9 (is this right??)
Why is there this difference in the declaration of the bounds of the array? Surely the underlying structure is the same for both when compiled to MSIL?
Just curious!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|