C#: Arrays, List, and Collections [12 of 19]

Play C#: Arrays, List, and Collections [12 of 19]

The Discussion

  • User profile image
    Gouse Basha

    The best way to learn C#, The instructors Scott Hanselman, Kendra Havens are the best, easily understand the concepts of C#

  • User profile image
    Rakesh

    About the bit about zero-indexed languages and one-indexed languages:

    I was told that the reason behind lists and arrays starting at index zero is because of binary storage used in computers. Because the index starts at 0, to access 8 elements of an array I will have to use indexes 0 to 7, which will take up 3-bits. If the index had started at 1, then I would have to use index 8 which would require 4-bits.

    I am not sure if this is the actual reason, but I think it makes sense.

Add Your 2 Cents