Thread: Dynamic arrays

  1. #1
    Registered User
    Join Date
    Feb 2002
    Posts
    589

    Dynamic arrays

    In VC there is a couple of helper classes that made life easier. One was CObArray. A dynamic array that stores objects. Is there something similar in C#, or do I have to go back to the old fasion way that is used in C and C++ and dynamicly adjust the array size myself?

  2. #2
    the hat of redundancy hat nvoigt's Avatar
    Join Date
    Aug 2001
    Location
    Hannover, Germany
    Posts
    3,130
    There are a lot of different collection classes. Try ArrayList and see if it fits your needs.
    hth
    -nv

    She was so Blonde, she spent 20 minutes looking at the orange juice can because it said "Concentrate."

    When in doubt, read the FAQ.
    Then ask a smart question.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Creating and freeing dynamic arrays
    By circuitbreaker in forum C++ Programming
    Replies: 8
    Last Post: 02-18-2008, 11:18 AM
  2. Replies: 16
    Last Post: 01-01-2008, 04:07 PM
  3. processing dynamic arrays
    By Mario F. in forum C++ Programming
    Replies: 9
    Last Post: 06-04-2006, 11:32 AM
  4. Dynamic (Numeric) Arrays
    By DavidB in forum C++ Programming
    Replies: 5
    Last Post: 05-03-2006, 07:34 PM