Jump to content

Push an Array

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
1 reply to this topic

#1
falco85

falco85

    Programmer

  • Members
  • PipPipPipPip
  • 105 posts
I can't seem to find it but how do you PUSH items into a simple int[] array in C#?

#2
brackett

brackett

    Programmer

  • Members
  • PipPipPipPip
  • 192 posts
You don't. You'd need an ArrayList, or Stack, or Queue or List to add items dynamically.