Note that you dont have to create the asign method to assign the values...
And this is more strait foward :-)
struct PERSONS{
public string name;
public int age;
}
PERSONS[] persons= new PERSONS[4];
persons[0].name="Claudio";
persons[0].age=32;
persons[1].name="Michel";
persons[1].age=25;
...
HTH :-)
If we exchange an apple, we both get an apple.
But if we exchange an idea, we both get 2 ideas, cool...Gérald Santerre
Independant programmer - internet or intranet stuff - always looking for contracts big or small :)
http://www.siteintranet.qc.ca