I found out a pretty interesting fact when I was working on a program, I used a Array of string of 5 in C# and got a Perfect 5 items to use.
However, this was not the case in VB, when I used the same size of Array of string , i.e. length of 5, I found out that I get 6 items to use. This is a fascinating fact suddenly for me.
So I understand that in VB we get the array count starting from 0 however in C#, the count starts from 1. IMPORTANT STUFF.
No comments:
Post a Comment