Hi, question about using ArrayList from C# newbie,
I managed to make my array list which holds a number of structs:
struct myStruct
{
public int field1;
public int field2;
}
static ArrayList myArray = new ArrayList();
How could I find a struct that holds a particular value in field1?
IndexOf()?
Bob
I managed to make my array list which holds a number of structs:
struct myStruct
{
public int field1;
public int field2;
}
static ArrayList myArray = new ArrayList();
How could I find a struct that holds a particular value in field1?
IndexOf()?
Bob
Comment