Dynamic arrays

This is a discussion on Dynamic arrays within the C# Programming forums, part of the General Programming Boards category; In VC there is a couple of helper classes that made life easier. One was CObArray. A dynamic array that ...

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

    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,139
    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, 10:18 AM
  2. Replies: 16
    Last Post: 01-01-2008, 03: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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21