CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5

Thread: ArrayList?

  1. #1
    Join Date
    May 2002
    Posts
    52

    ArrayList?

    Can anyone explain me What is ArrayList and what for it is used?

    Thanks in advance.

  2. #2
    Join Date
    Jun 2002
    Location
    China
    Posts
    2

    find some ex.

    look for answer from SDK
    talk with power

  3. #3
    Join Date
    Feb 2002
    Location
    Spain
    Posts
    148
    Hi:

    It's a class from the System.Collections namespace, intended to be used for holding a list of objects.

    Take a look at it, it's very usefull.

    VictorL

  4. #4
    Join Date
    May 2002
    Posts
    121
    It's like an array, except it resizes for you automatically.

    I have found the ArrayList and HashTable to be the most useful.

    check out the system.collections namespace:
    http://www.msdn.microsoft.com/librar...ollections.asp

  5. #5
    Join Date
    May 2002
    Location
    Atlanta,GA
    Posts
    262

    Re: ArrayList?

    Originally posted by swathi2002
    Can anyone explain me What is ArrayList and what for it is used?

    Thanks in advance.
    An ArrayList is very similar to a Java Vector. It's has the functionality of a resizeable array. You can use instances of it like you were simply using an array except you don't have to worry about the size being right. It will take care of that for you.
    Jared

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured