Results 1 to 3 of 3

Thread: Redim in c#

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Oct 2003
    Location
    México
    Posts
    20

    Redim in c#

    It´s possible resize the length of an array like in VB6 but in C#???

    Regards




  2. #2
    KrisSiegel.com Kasracer's Avatar
    Join Date
    Jul 2003
    Location
    USA, Maryland
    Posts
    4,985
    nm, looks like you have to manually copy the array into a new array plus whatever you used before.

    Apparently that is how ReDim works anway

  3. #3
    Hyperactive Member Sgt-Peppa's Avatar
    Join Date
    Mar 2003
    Location
    Munich - Germany
    Posts
    476
    Or you may want to take a look at C#`s hashtable (key, value pairs) or at C#`s Arraylist class!

    These are possibilitys to solve your problem. (Sorry dont have a working example for ArrayList)

    HTH,

    Stephan
    Keep Smiling - even if its hard
    Frankie Says Relax, wossname Says Yeah!
    wossname:--Currently I'm wearing a gimp suit and a parachute.
    C# - Base64 Blog

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