Working with Collections - Day 2 - Part 6

Sign in to queue

The Discussion

  • User profile image

    So would you say a List is similar to an array? Looks pretty similar, and I like the foreach loop.

    Cheers Bob

  • User profile image

    Arrays do exist in C#, but I like Lists much better. With lists, you don't have to define a maximum size, and are generally much easier to work with. 

  • User profile image

    @Mintydog: Lists allow you to do a bit more complex operations like inserting, removing, ...

Add Your 2 Cents