Search:

Type: Posts; User: gah_ribaldi

Search: Search took 0.00 seconds.

  1. Replies
    10
    Views
    7,953

    I've been doing some digging around and I wonder...

    I've been doing some digging around and I wonder if I can now say



    foreach (myClass instance in myArray){
    instance = new myClass(somethingToGoInEachConstructor);
    }


    What do you think?
  2. Replies
    10
    Views
    7,953

    Read but not forgotten. That code worked fine of...

    Read but not forgotten. That code worked fine of course, but I'm stumbling when I get to needing to use a constructor. If the array - let's make it of myClass objects is an attribute of a class, I...
  3. Replies
    10
    Views
    7,953

    2D array, size unknown at compile time

    Hey all. I'm hoping you can help with an array problem.

    I need to create a 2D array with size decided by the user during execution. After its size has been chosen it will not alter during...
Results 1 to 3 of 3